projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70ef1d
)
autoconvert: fix a reconfigure event leak
author
Fabrice Bellet
<fabrice@bellet.info>
Sat, 31 Dec 2016 19:57:54 +0000
(20:57 +0100)
committer
Thiago Santos
<thiagossantos@gmail.com>
Mon, 2 Jan 2017 22:52:33 +0000
(19:52 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=776726
gst/autoconvert/gstautoconvert.c
patch
|
blob
|
history
diff --git
a/gst/autoconvert/gstautoconvert.c
b/gst/autoconvert/gstautoconvert.c
index 77e095a39bdb3949c853a228813c7e18ce351bdb..4761f44033fa8ea2949888e5c8e209864d093432 100644
(file)
--- a/
gst/autoconvert/gstautoconvert.c
+++ b/
gst/autoconvert/gstautoconvert.c
@@
-1186,7
+1186,8
@@
gst_auto_convert_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
GST_WARNING_OBJECT (autoconvert,
"Got upstream event while no element was selected," "forwarding.");
ret = gst_pad_push_event (autoconvert->sinkpad, event);
- }
+ } else
+ gst_event_unref (event);
return ret;
}