From 6eef7983fb17055a1fb10e704067e1500f48b597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 6 Feb 2009 11:21:00 +0100 Subject: mxfdemux: Don't remove invalid new essence track twice from the GPtrArray --- gst/mxf/mxfdemux.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gst/mxf') 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"); -- cgit v1.2.1