summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-20 15:18:21 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-20 15:18:21 +0200
commitaa23380d192b7c32290ee2ab977b558af8dc35d0 (patch)
treee8764dba8d7d8e0082272de7bf0477663a413032
parentd687665dab3480b6f38bfeeac24ce529a18f03c7 (diff)
matroskademux: Properly initialize from_offset and from_time
-rw-r--r--gst/matroska/matroska-demux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 478f00621..c1ee82ce7 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++;