matroskademux: fix stream synchronization
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 28 Jan 2010 17:49:57 +0000 (18:49 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 2 Feb 2010 15:53:51 +0000 (16:53 +0100)
.. 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

index 43f446f..104bf64 100644 (file)
@@ -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 =