FFmpeg/libavcodec
Ming Qian 8ac8e905e9 avcodec/v4l2_m2m: handle v4l2 end of stream event
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: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2020-04-14 23:42:05 -04:00
..
2020-02-07 13:36:57 -03:00
2020-02-07 13:36:57 -03:00
2020-04-10 12:22:09 +02:00
2020-02-19 20:48:49 +11:00
2020-03-12 20:26:48 +00:00
2020-03-12 20:26:48 +00:00
2020-03-12 20:26:48 +00:00
2020-02-22 00:15:43 +01:00
2020-03-22 11:55:44 -03:00
2020-01-22 21:50:49 +01:00
2020-03-17 16:07:25 +01:00
2020-03-31 20:12:15 +02:00
2020-04-10 18:18:51 +02:00
2020-02-04 11:35:02 +01:00
2020-03-17 22:46:36 +01:00
2020-01-11 23:31:18 +01:00
2020-04-10 12:22:09 +02:00
2020-03-17 22:46:36 +01:00
2020-02-19 22:37:30 +01:00
2020-01-30 19:57:25 +01:00
2020-04-04 23:26:15 +02:00
2020-04-04 23:26:15 +02:00
2019-12-31 18:43:50 +01:00
2020-01-13 23:26:25 +00:00
2020-01-11 23:31:18 +01:00
2020-03-22 11:55:44 -03:00