gstreamer/sys
Nicolas Dufresne 83f60aea54 v4l2bufferpool: Only resurrect the right amount of buffers
On streamon, we need to resurrect (queue back) some buffers, as during
flushign seek we'd endup with an empty queued. We initially started with
resurrecting as many as we could without blocking, but that miss-behaved with
dynamic CREATE_BUFS, causing the pool to grow dramatically. This was limited
by the number of allocated buffers, but this still tried to resurrect too many
buffers for the first run, as activating the pool will queued buffers.

In this patch, we calculte the missing detal in the queue and only try and
resurrect that amount of buffers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/651>
2020-06-28 13:40:30 +00:00
..
directsound Remove autotools build system 2019-10-14 11:04:18 +01:00
oss Remove autotools build system 2019-10-14 11:04:18 +01:00
oss4 Remove autotools build system 2019-10-14 11:04:18 +01:00
osxaudio osxaudio: Remove deprecated GTimeVal 2019-12-18 19:48:34 +00:00
osxvideo meson: Pass native: false to add_languages() 2020-05-13 19:25:33 +05:30
v4l2 v4l2bufferpool: Only resurrect the right amount of buffers 2020-06-28 13:40:30 +00:00
waveform Remove autotools build system 2019-10-14 11:04:18 +01:00
ximage good: use of g_value_dup_string 2019-12-20 09:30:26 +00:00
meson.build meson: Add build files for osxaudio, osxvideo, waveform 2018-08-17 20:05:25 +05:30