Commit 36fee218 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

playbin2: fix pad ref leak

parent 9eae4980
......@@ -1558,6 +1558,8 @@ gst_play_bin_suburidecodebin_seek_to_start (GstElement * suburidecodebin)
if (!gst_pad_send_event (sinkpad, event))
GST_DEBUG_OBJECT (suburidecodebin, "Seeking to the beginning failed!");
}
gst_object_unref (sinkpad);
}
if (it)
......
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