mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-14 20:36:32 +00:00
390d43dcde
When seek flush, gst v4l2 buffer pool flush is not atomic which will lead double enqueue buffer (qbuf) issue, and v4l2 buffer pool qbuf is also not atomic which will lead no free buffer found in the pool. 1. add lock for calculate enqueue number in streamon function 2. add lock for v4l2 capture end streamoff in pool flush function 3. lock the whole funciton of v4l2 buffer pool qbuf, then the buffer pool index and qbuf operation are atomic Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5695> |
||
---|---|---|
.. | ||
directsound | ||
oss | ||
oss4 | ||
osxaudio | ||
osxvideo | ||
rpicamsrc | ||
v4l2 | ||
waveform | ||
ximage | ||
meson.build |