Package: gst-plugins-good1.0 / 1.4.4-2+deb8u3

flxdec-Don-t-unref-parent-in-the-chain-function.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 45dcd0b9ccf33ed85cdafeb871a3781f5be57fd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
Date: Wed, 23 Nov 2016 11:20:49 +0200
Subject: [PATCH] flxdec: Don't unref() parent in the chain function

We don't own the reference here, it is owned by the caller and given to
us for the scope of this function. Leftover mistake from 0.10 porting.

https://bugzilla.gnome.org/show_bug.cgi?id=774897
---
 gst/flx/gstflxdec.c | 1 -
 1 file changed, 1 deletion(-)

Index: gst-plugins-good1.0-1.4.4/gst/flx/gstflxdec.c
===================================================================
--- gst-plugins-good1.0-1.4.4.orig/gst/flx/gstflxdec.c
+++ gst-plugins-good1.0-1.4.4/gst/flx/gstflxdec.c
@@ -676,7 +676,6 @@ wrong_type:
   {
     GST_ELEMENT_ERROR (flxdec, STREAM, WRONG_TYPE, (NULL),
         ("not a flx file (type %x)", flxh->type));
-    gst_object_unref (flxdec);
     return GST_FLOW_ERROR;
   }
 }