mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ghostpad: fix locking
This commit is contained in:
parent
0467799f22
commit
473594b3a4
1 changed files with 2 additions and 0 deletions
|
@ -1242,7 +1242,9 @@ link_failed:
|
|||
GST_WARNING_OBJECT (gpad, "could not link internal and target, reason:%d",
|
||||
lret);
|
||||
/* and unset target again */
|
||||
GST_PROXY_LOCK (gpad);
|
||||
gst_proxy_pad_set_target_unlocked (GST_PAD_CAST (gpad), NULL);
|
||||
GST_PROXY_UNLOCK (gpad);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue