pulsesink: fix crash when getting the current-device in NULL->READY
The "goto unlock" is wrong as in this code path we haven't take the lock yet. Fixes #724619
This commit is contained in:
parent
2b15ae4ecd
commit
3abad7af66
@ -2788,7 +2788,7 @@ no_mainloop:
|
|||||||
no_buffer:
|
no_buffer:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (pulsesink, "we have no ringbuffer");
|
GST_DEBUG_OBJECT (pulsesink, "we have no ringbuffer");
|
||||||
goto unlock;
|
return NULL;
|
||||||
}
|
}
|
||||||
info_failed:
|
info_failed:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user