]> git.sesse.net Git - ffmpeg/commit
avcodec: v4l2_m2m: remove unnecessary timeout.
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Tue, 9 Jan 2018 22:56:42 +0000 (23:56 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 21 Jan 2018 00:37:35 +0000 (00:37 +0000)
commit5d5de3eba4c7890c2e8077f5b4ae569671d11cf8
treea6f498b5b2b506cc0495a811db086c80da56644f
parenta0c624e299730c8c5800375c2f5f3c6c200053ff
avcodec: v4l2_m2m: remove unnecessary timeout.

Qualcomm's db410c/db820 Venus driver currently present in mainline
kernel has a bug which mishandles the CMD_STOP requests causing the
decoder to block while draining [1].

This patch removes the workaround that was used to prevent that
situation.

Encoding/Decoding tested on db820c.

[1] on CMD_STOP, the driver is flushing all buffers and never raising
IPIPE which ends up in blocking on poll.
libavcodec/v4l2_buffers.c
libavcodec/v4l2_context.c