From 5e57a0a0525c1f0fc813f10e49b9a300940456fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 2 Feb 2009 15:54:00 +0100 Subject: Don't go after the last component of a track --- gst/mxf/mxfdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index a5b1a1b2..83541834 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -1317,6 +1317,7 @@ gst_mxf_demux_pad_set_component (GstMXFDemux * demux, GstMXFDemuxPad * pad, if (pad->current_component_index >= sequence->n_structural_components) { GST_DEBUG_OBJECT (demux, "After last structural component"); + pad->current_component_index = sequence->n_structural_components - 1; return GST_FLOW_UNEXPECTED; } -- cgit v1.2.1