From 9a83a0749e3342eddfe5017724ccadca1a258a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 20 Jul 2012 15:18:21 +0200 Subject: [PATCH] matroskademux: Properly initialize from_offset and from_time --- gst/matroska/matroska-demux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index d570e67ef2..b88a2fbad5 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -556,6 +556,8 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux, GstEbmlRead * ebml) GST_MATROSKA_TRACK_ENABLED | GST_MATROSKA_TRACK_DEFAULT | GST_MATROSKA_TRACK_LACING; context->last_flow = GST_FLOW_OK; + context->from_time = GST_CLOCK_TIME_NONE; + context->from_offset = -1; context->to_offset = G_MAXINT64; context->alignment = 1; demux->common.num_streams++;