playbin: ref_sink() sink rather than pointer to sink
This commit is contained in:
parent
f051c0890a
commit
2372894c63
@ -4807,7 +4807,7 @@ autoplug_select_cb (GstElement * decodebin, GstPad * pad,
|
|||||||
* messages, but only do that if we didn't just create the sink above and
|
* messages, but only do that if we didn't just create the sink above and
|
||||||
* already ref_sink'd it there */
|
* already ref_sink'd it there */
|
||||||
if (!created_sink)
|
if (!created_sink)
|
||||||
gst_object_ref_sink (sinkp);
|
gst_object_ref_sink (*sinkp);
|
||||||
|
|
||||||
element = *sinkp;
|
element = *sinkp;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user