From 9bec2b11270b0a1422c956e4a47de23f7c67ad2e Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 28 Jan 2010 18:49:57 +0100 Subject: [PATCH] matroskademux: fix stream synchronization .. by initializing streams starting at 0, as that is basically where we 'seek to' at the start and assume streams to start elsewhere. Also enables newsegment update events for subtitle streams. --- gst/matroska/matroska-demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 43f446f..104bf64 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -1075,7 +1075,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux) context->index_writer_id = -1; context->type = 0; /* no type yet */ context->default_duration = 0; - context->pos = GST_CLOCK_TIME_NONE; + context->pos = 0; context->set_discont = TRUE; context->timecodescale = 1.0; context->flags = -- 2.7.4