Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > e72214a625f100adcb6aede9ed87048f > files > 2

gstreamer1.0-plugins-bad-1.4.3-2.1.mga5.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: [PATCH] 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
---
 gst/mxf/mxfdemux.c | 1 +
 1 file changed, 1 insertion(+)

Index: gst-plugins-bad1.0-1.4.4/gst/mxf/mxfdemux.c
===================================================================
--- gst-plugins-bad1.0-1.4.4.orig/gst/mxf/mxfdemux.c
+++ gst-plugins-bad1.0-1.4.4/gst/mxf/mxfdemux.c
@@ -816,6 +816,7 @@ gst_mxf_demux_update_essence_tracks (Gst
         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");