summaryrefslogtreecommitdiffstats
path: root/gst/mxf
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-06 11:21:00 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-06 11:21:00 +0100
commit6eef7983fb17055a1fb10e704067e1500f48b597 (patch)
tree16c298fd37eb376d6a620763b8f3839a7bb851f6 /gst/mxf
parentf529a4c6b3a6239e3719d661dcbb3d935a0770c3 (diff)
downloadgst-plugins-bad-6eef7983fb17055a1fb10e704067e1500f48b597.tar.gz
gst-plugins-bad-6eef7983fb17055a1fb10e704067e1500f48b597.tar.bz2
gst-plugins-bad-6eef7983fb17055a1fb10e704067e1500f48b597.zip
mxfdemux: Don't remove invalid new essence track twice from the GPtrArray
Diffstat (limited to 'gst/mxf')
-rw-r--r--gst/mxf/mxfdemux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c
index 0bffbe27..af37fe8e 100644
--- a/gst/mxf/mxfdemux.c
+++ b/gst/mxf/mxfdemux.c
@@ -785,8 +785,6 @@ gst_mxf_demux_update_essence_tracks (GstMXFDemux * demux)
g_free (etrack->mapping_data);
if (etrack->tags)
gst_tag_list_free (etrack->tags);
- g_array_remove_index (demux->essence_tracks,
- demux->essence_tracks->len - 1);
goto next;
} else if (!caps) {
GST_WARNING_OBJECT (demux, "Couldn't create updated caps for stream");