mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
playsinkconvertbin: release extra ref on converter elements
This commit is contained in:
parent
de19cfdd8a
commit
345b6a58f4
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ gst_play_sink_convert_bin_remove_element (GstElement * element,
|
||||||
GstPlaySinkConvertBin * self)
|
GstPlaySinkConvertBin * self)
|
||||||
{
|
{
|
||||||
gst_element_set_state (element, GST_STATE_NULL);
|
gst_element_set_state (element, GST_STATE_NULL);
|
||||||
|
gst_object_unref (GST_OBJECT_CAST (element));
|
||||||
gst_bin_remove (GST_BIN_CAST (self), element);
|
gst_bin_remove (GST_BIN_CAST (self), element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue