From 857f6cf2a83139874961773ea9a4f8901866ef52 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Thu, 20 Apr 2006 13:23:40 +0000 Subject: 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. --- gst/matroska/matroska-ids.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/matroska/matroska-ids.h') 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 { -- cgit