diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-08 16:20:26 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-08 16:20:26 +0000 |
commit | ba69194f332856cc53a870ee381a806b0fd65ff5 (patch) | |
tree | f773e6e402e332212c8902b3ec0704f499549b45 /gst/matroska/matroska-demux.h | |
parent | c0468721320c10978e70a4ac9072d1d8774e5e62 (diff) |
gst/matroska/matroska-demux.*: Close the current segment if we're doing a non-flushing seek and send the close-segmen...
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_element_send_event),
(gst_matroska_demux_handle_seek_event), (gst_matroska_demux_loop):
* gst/matroska/matroska-demux.h:
Close the current segment if we're doing a non-flushing seek and send
the close-segment and the new segment of the seek from the streaming
thread.
Diffstat (limited to 'gst/matroska/matroska-demux.h')
-rw-r--r-- | gst/matroska/matroska-demux.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gst/matroska/matroska-demux.h b/gst/matroska/matroska-demux.h index 6ed07feb..846ce289 100644 --- a/gst/matroska/matroska-demux.h +++ b/gst/matroska/matroska-demux.h @@ -46,12 +46,6 @@ typedef enum { GST_MATROSKA_DEMUX_STATE_DATA } GstMatroskaDemuxState; -typedef struct _GstMatroskaDemuxIndex { - guint64 pos; /* of the corresponding *cluster*! */ - guint16 track; /* reference to 'num' */ - guint64 time; /* in nanoseconds */ -} GstMatroskaDemuxIndex; - typedef struct _GstMatroskaDemux { GstEbmlRead parent; @@ -93,6 +87,9 @@ typedef struct _GstMatroskaDemux { GstSegment segment; gboolean segment_running; gint64 duration; + + GstEvent *close_segment; + GstEvent *new_segment; } GstMatroskaDemux; typedef struct _GstMatroskaDemuxClass { |