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.
This commit is contained in:
parent
6adfb120ab
commit
3a1912f88c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user