mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
matroskademux: Properly initialize from_offset and from_time
This commit is contained in:
parent
b02034dda1
commit
9a83a0749e
1 changed files with 2 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue