playsink: don't leak the colorbalance element

This commit is contained in:
Wim Taymans 2012-04-27 12:54:15 +02:00
parent 9c09fbda52
commit f21b7437e7

View file

@ -1492,6 +1492,8 @@ update_colorbalance (GstPlaySink * playsink)
g_signal_handlers_unblock_by_func (balance,
G_CALLBACK (colorbalance_value_changed_cb), playsink);
gst_object_unref (balance);
}
/* make the element (bin) that contains the elements needed to perform