summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-02 15:54:00 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-02 15:54:00 +0100
commit5e57a0a0525c1f0fc813f10e49b9a300940456fb (patch)
tree9993a91c9fc811d38e1d59bb2bc0069d2d9f86bd /gst
parent92f372ba300658e6bb182ae5c246566aa4bac389 (diff)
downloadgst-plugins-bad-5e57a0a0525c1f0fc813f10e49b9a300940456fb.tar.gz
gst-plugins-bad-5e57a0a0525c1f0fc813f10e49b9a300940456fb.tar.bz2
gst-plugins-bad-5e57a0a0525c1f0fc813f10e49b9a300940456fb.zip
Don't go after the last component of a track
Diffstat (limited to 'gst')
-rw-r--r--gst/mxf/mxfdemux.c1
1 files changed, 1 insertions, 0 deletions
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;
}