Commit 4c1fc764 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

playsink: ref_sink() any sinks that are set on playsink

Otherwise the behaviour of the properties is inconsistent.
parent f2bc24a5
......@@ -839,7 +839,7 @@ gst_play_sink_set_sink (GstPlaySink * playsink, GstPlaySinkType type,
if (elem) {
old = *elem;
if (sink)
gst_object_ref (sink);
gst_object_ref_sink (sink);
*elem = sink;
}
GST_PLAY_SINK_UNLOCK (playsink);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment