playsinkconvertbin: release extra ref on converter elements

This commit is contained in:
Mark Nauwelaerts 2012-01-12 13:57:18 +01:00
parent de19cfdd8a
commit 345b6a58f4

View file

@ -189,6 +189,7 @@ gst_play_sink_convert_bin_remove_element (GstElement * element,
GstPlaySinkConvertBin * self)
{
gst_element_set_state (element, GST_STATE_NULL);
gst_object_unref (GST_OBJECT_CAST (element));
gst_bin_remove (GST_BIN_CAST (self), element);
}