OSDN Git Service

media: coda: flag the last encoded buffer
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Jun 2019 16:45:29 +0000 (12:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 18:43:53 +0000 (14:43 -0400)
commitcf895efc4d9c2dfb3cd03cf298ea55637feba901
tree87eb725f9366d87aa8f82dfe13c3ddc1b75d8fe9
parent0f8f633834357f2513d21a6468db6d5989e8c494
media: coda: flag the last encoded buffer

Use the flagged last output buffer to also flag the corresponding
capture buffer after encoding. This causes the end of stream event
to be issued and the buffer to be dequeued with the last flag set.

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>
drivers/media/platform/coda/coda-bit.c