diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-07-11 20:53:22 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-07-13 09:43:37 +0300 |
commit | 9f9ff5e4fe8a22d5d51a7c8e8c617fade29f7f44 (patch) | |
tree | c9a7ad5eb954c3f9cbd0d4f81429439eaa6763a4 /gst | |
parent | d5d7f01c381a9a48ae92b26d53f7545b7c1e0730 (diff) | |
download | gstreamer-plugins-bad-9f9ff5e4fe8a22d5d51a7c8e8c617fade29f7f44.tar.gz |
mxfdemux: Initialize index table entries completely in all cases
When seeking backwards into a previously unseen location, we wouldn't
fully initialize them and playback would fail later.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mxf/mxfdemux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index f0535a0be..9f56ef2e4 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -1791,6 +1791,9 @@ gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux, &g_array_index (etrack->offsets, GstMXFDemuxIndex, etrack->position); index->offset = demux->offset - demux->run_in; + index->initialized = TRUE; + index->pts = pts; + index->dts = dts; index->keyframe = keyframe; } else if (etrack->position < G_MAXINT) { GstMXFDemuxIndex index; |