mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-19 12:56:17 +00:00
winegstreamer: Remove unnecessary unlink in pad-removed callback.
This commit is contained in:
parent
49b0e6c22d
commit
8f7616f360
|
@ -898,10 +898,6 @@ static void pad_removed_cb(GstElement *element, GstPad *pad, gpointer user)
|
|||
|
||||
if (stream->their_src == pad)
|
||||
{
|
||||
if (stream->post_sink)
|
||||
gst_pad_unlink(stream->their_src, stream->post_sink);
|
||||
else
|
||||
gst_pad_unlink(stream->their_src, stream->my_sink);
|
||||
gst_object_unref(stream->their_src);
|
||||
stream->their_src = NULL;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue