Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 852805f17b08a7a953f5f763451872ce > files > 3

gstreamer0.10-plugins-bad-0.10.23-22.2.mga5.tainted.src.rpm

From 08723e68df9988a8253ee0785937c3167cf74130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
Date: Fri, 20 Jan 2017 07:51:09 +0200
Subject: 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

--- a/gst/mxf/mxfdemux.c
+++ b/gst/mxf/mxfdemux.c
@@ -825,6 +825,7 @@
         etrack->mapping_data = NULL;
         if (etrack->tags)
           gst_tag_list_free (etrack->tags);
+        etrack->tags = NULL;
         goto next;
       } else if (!caps) {
         GST_WARNING_OBJECT (demux, "Couldn't create updated caps for stream");