mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
autoconvert: fix a reconfigure event leak
https://bugzilla.gnome.org/show_bug.cgi?id=776726
This commit is contained in:
parent
b70ef1de49
commit
aac4c10d0e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue