playbin2: fix pad ref leak
This commit is contained in:
parent
9eae49800c
commit
36fee21834
@ -1558,6 +1558,8 @@ gst_play_bin_suburidecodebin_seek_to_start (GstElement * suburidecodebin)
|
|||||||
if (!gst_pad_send_event (sinkpad, event))
|
if (!gst_pad_send_event (sinkpad, event))
|
||||||
GST_DEBUG_OBJECT (suburidecodebin, "Seeking to the beginning failed!");
|
GST_DEBUG_OBJECT (suburidecodebin, "Seeking to the beginning failed!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (sinkpad);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (it)
|
if (it)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user