diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-01-20 07:51:09 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-01-20 07:51:09 +0200 |
commit | 08723e68df9988a8253ee0785937c3167cf74130 (patch) | |
tree | af06ace72afd489feae6824607ca9ff59577ec70 /gst/mxf | |
parent | 075ceffd9b21339b50130a5207a0df4ce9f1f5a7 (diff) | |
download | gstreamer-plugins-bad-08723e68df9988a8253ee0785937c3167cf74130.tar.gz |
mxfdemux: Set stream tags to NULL after unreffing
Otherwise we might try to unref them a second time a little bit later.
https://bugzilla.gnome.org/show_bug.cgi?id=777503
Diffstat (limited to 'gst/mxf')
-rw-r--r-- | gst/mxf/mxfdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index a380f6dd9..54ceec1df 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -835,6 +835,7 @@ gst_mxf_demux_update_essence_tracks (GstMXFDemux * demux) etrack->mapping_data = NULL; if (etrack->tags) gst_tag_list_unref (etrack->tags); + etrack->tags = NULL; goto next; } else if (!caps) { GST_WARNING_OBJECT (demux, "Couldn't create updated caps for stream"); |