summaryrefslogtreecommitdiffstats
path: root/gst/matroska/matroska-ids.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-04-20 13:23:40 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-04-20 13:23:40 +0000
commit857f6cf2a83139874961773ea9a4f8901866ef52 (patch)
treeebe2363d17d6a39cbff7feb403d1a47507d02d79 /gst/matroska/matroska-ids.h
parenta0522c2394640863d4049873fbacf0ad4dddd115 (diff)
gst/matroska/: Set DISCONT flag on first buffer after a discontinuity.
Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroskademux_do_index_seek), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_parse_blockgroup_or_simpleblock): * gst/matroska/matroska-ids.h: Set DISCONT flag on first buffer after a discontinuity. Fix newsegment events sent when seeking and honour KEY_UNIT seek flag. Create pad with bogus caps if we don't recognise the stream codec id. * gst/matroska/matroska-demux.h: Fix GObject macros.
Diffstat (limited to 'gst/matroska/matroska-ids.h')
-rw-r--r--gst/matroska/matroska-ids.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/matroska/matroska-ids.h b/gst/matroska/matroska-ids.h
index 71dfc634..c8c6d371 100644
--- a/gst/matroska/matroska-ids.h
+++ b/gst/matroska/matroska-ids.h
@@ -243,6 +243,8 @@ typedef struct _GstMatroskaTrackContext {
GstMatroskaTrackFlags flags;
guint64 default_duration;
guint64 pos;
+
+ gboolean set_discont; /* TRUE = set DISCONT flag on next buffer */
} GstMatroskaTrackContext;
typedef struct _GstMatroskaTrackVideoContext {