mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
playbin: ref_sink() sink rather than pointer to sink
This commit is contained in:
parent
f051c0890a
commit
2372894c63
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
* already ref_sink'd it there */
|
||||
if (!created_sink)
|
||||
gst_object_ref_sink (sinkp);
|
||||
gst_object_ref_sink (*sinkp);
|
||||
|
||||
element = *sinkp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue