diff options
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | 2017-10-13 16:13:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-27 14:01:09 +0200 |
commit | e69b987a97599456b95b5fef4aca8dcdb1505aea (patch) | |
tree | 316b84366bf7aff7e84d4d7fc2810140b10f4678 /include/media/cec-pin.h | |
parent | 3863360c15da47e18d894268ad6182fdc7caf0c7 (diff) | |
download | linux-e69b987a97599456b95b5fef4aca8dcdb1505aea.tar.gz linux-e69b987a97599456b95b5fef4aca8dcdb1505aea.tar.bz2 linux-e69b987a97599456b95b5fef4aca8dcdb1505aea.zip |
media: venus: reimplement decoder stop command
This addresses the wrong behavior of decoder stop command by
rewriting it. These new implementation enqueue an empty buffer
on the decoder input buffer queue to signal end-of-stream. The
client should stop queuing buffers on the V4L2 Output queue
and continue queuing/dequeuing buffers on Capture queue. This
process will continue until the client receives a buffer with
V4L2_BUF_FLAG_LAST flag raised, which means that this is last
decoded buffer with data.
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.13 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/cec-pin.h')
0 files changed, 0 insertions, 0 deletions