mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
bufferpool: unblock acquire thread when we discard buffer
else the acquire thread will wait infinitely. The deadlock showed in prevous unit test commit. This will fix it Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/470>
This commit is contained in:
parent
8a58d67709
commit
003b25f39d
1 changed files with 1 additions and 0 deletions
|
@ -1326,6 +1326,7 @@ not_writable:
|
||||||
discard:
|
discard:
|
||||||
{
|
{
|
||||||
do_free_buffer (pool, buffer);
|
do_free_buffer (pool, buffer);
|
||||||
|
gst_poll_write_control (pool->priv->poll);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue