gstreamer/sys
Michael Tretter 35ab185d75 v4l2videodec: do not call streamon while pool is flushing
gst_v4l2_buffer_pool_flush() executes streamoff for the output, but
streamoff->streamon for the capture of the decoder.
gst_v4l2_buffer_pool_streamon() on capture assumes that is able to
resurrect the buffers from the pool, but acquiring buffers fails if the
buffer pool is still flushing.

The decoder needs to stop flushing the pools before calling
gst_v4l2_buffer_pool_flush() to restart the v4l2 device. Otherwise
starting the decoding thread might fail, because there are no buffers in
the capture pool.

This fixes a regression that was introduced in 97985a335c
("v4l2videodec: Add dynamic resolution change support").

https://bugzilla.gnome.org/show_bug.cgi?id=796681
2018-06-27 16:32:23 -04:00
..
directsound Meson: Generate pc file for all plugins in good 2018-04-25 11:07:06 +01:00
oss meson: build oss plugin 2017-06-23 19:34:16 +01:00
oss4 meson: build oss4 plugin 2017-06-23 19:36:03 +01:00
osxaudio osxaudio: fixes playback of mono streams with no channel-mask field in caps 2017-05-20 18:33:42 +02:00
osxvideo osxvideosink: fix build on macOS versions < 12.0 2018-02-08 15:49:59 +00:00
v4l2 v4l2videodec: do not call streamon while pool is flushing 2018-06-27 16:32:23 -04:00
waveform waveform: Fix DLL name to match plugin name 2017-07-20 15:46:38 -04:00
ximage Meson: Generate pc file for all plugins in good 2018-04-25 11:07:06 +01:00
Makefile.am sys: remove sunaudio plugin 2017-06-23 20:02:43 +01:00
meson.build sys: remove sunaudio plugin 2017-06-23 20:02:43 +01:00