mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
playsink: plug element leak
This commit is contained in:
parent
752ba3149f
commit
5462536a36
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ gst_play_sink_convert_bin_remove_element (GstElement * element,
|
|||
GstPlaySinkConvertBin * self)
|
||||
{
|
||||
gst_element_set_state (element, GST_STATE_NULL);
|
||||
gst_object_unref (element);
|
||||
gst_bin_remove (GST_BIN_CAST (self), element);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue