Don't go after the last component of a track
This commit is contained in:
parent
92f372ba30
commit
5e57a0a052
@ -1317,6 +1317,7 @@ gst_mxf_demux_pad_set_component (GstMXFDemux * demux, GstMXFDemuxPad * pad,
|
|||||||
|
|
||||||
if (pad->current_component_index >= sequence->n_structural_components) {
|
if (pad->current_component_index >= sequence->n_structural_components) {
|
||||||
GST_DEBUG_OBJECT (demux, "After last structural component");
|
GST_DEBUG_OBJECT (demux, "After last structural component");
|
||||||
|
pad->current_component_index = sequence->n_structural_components - 1;
|
||||||
return GST_FLOW_UNEXPECTED;
|
return GST_FLOW_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user