Philipp Zabel d09ed31014 media: coda: mark last pending buffer or last meta on decoder stop command
If there is still a buffer pending, mark it as the last buffer. It will
create a meta that is flagged as last when the buffer is copied into the
bitstream ring buffer. If there are no more buffers pending, find the
last bitstream meta and mark it as last. If there is no bitstream meta
either, wake up the capture queue as there will be no more decoded
frames.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-24 14:45:06 -04:00
..
2019-05-28 11:21:51 -04:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00
2019-05-28 11:21:51 -04:00
2019-06-11 12:09:28 -04:00
2019-06-21 16:09:25 -04:00
2019-06-21 16:25:39 -04:00
2019-06-05 15:28:32 -04:00
2019-05-08 21:35:19 -07:00
2019-05-28 11:21:51 -04:00
2019-06-11 12:09:28 -04:00
2018-11-23 05:42:49 -05:00