mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
libs/gst/base/gstbasetransform.c: Unref events that the GstBaseTransform::event vfunc didn't want to have forwarded b...
Original commit message from CVS: Patch by: Tim-Philipp Müller <tim.muller at collabora co uk> * libs/gst/base/gstbasetransform.c: (gst_base_transform_sink_event): Unref events that the GstBaseTransform::event vfunc didn't want to have forwarded by the base class. Closes a leak in identity. Fixes bug #446763.
This commit is contained in:
parent
b6286c0edc
commit
b4636b46bb
2 changed files with 12 additions and 0 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
|
* libs/gst/base/gstbasetransform.c:
|
||||||
|
(gst_base_transform_sink_event):
|
||||||
|
Unref events that the GstBaseTransform::event vfunc didn't want to
|
||||||
|
have forwarded by the base class. Closes a leak in identity.
|
||||||
|
Fixes bug #446763.
|
||||||
|
|
||||||
2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* docs/libs/gstreamer-libs-sections.txt:
|
* docs/libs/gstreamer-libs-sections.txt:
|
||||||
|
|
|
@ -1263,6 +1263,8 @@ gst_base_transform_sink_event (GstPad * pad, GstEvent * event)
|
||||||
* something different. */
|
* something different. */
|
||||||
if (forward)
|
if (forward)
|
||||||
ret = gst_pad_push_event (trans->srcpad, event);
|
ret = gst_pad_push_event (trans->srcpad, event);
|
||||||
|
else
|
||||||
|
gst_event_unref (event);
|
||||||
|
|
||||||
gst_object_unref (trans);
|
gst_object_unref (trans);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue