• Ming Qian's avatar
    avcodec/v4l2_m2m: handle v4l2 end of stream event · 8ac8e905
    Ming Qian authored
    When flushing the capture buffers, the driver may send a V4L2_EVENT_EOS
    to notify that draining is completed. Currently, v4l2_m2m does not
    subscribe to this event, which can cause some devices (i.e. imx8qm) to
    hang at the end of encoding/decoding. Support for handling the event is
    added in this commit.
    
    Some devices may not signal V4L2_EVENT_EOS. This is logged as a warning
    message during initialization and not treated as a fatal error.
    Signed-off-by: 's avatarMing Qian <ming.qian@nxp.com>
    Signed-off-by: 's avatarAndriy Gelman <andriy.gelman@gmail.com>
    8ac8e905
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...