mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
783ebbeecb
In cases that encoder needs to reset format, there is race while draining. v4l2videoenc finish() sends CMD_STOP command to driver, and desire to return GST_FLOW_OK. But at this time, encoder CAPTURE may have dequeued the last buffer and got eos. finish() return value changes to be GST_FLOW_EOS which causes set format fail. So there is no need to check return value for finish() when set format. Also need to flush encoder after draining to make sure flush is finished. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4495> |
||
---|---|---|
.. | ||
directsound | ||
oss | ||
oss4 | ||
osxaudio | ||
osxvideo | ||
rpicamsrc | ||
v4l2 | ||
waveform | ||
ximage | ||
meson.build |