diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-06-18 12:45:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 14:43:25 -0400 |
commit | 0f8f633834357f2513d21a6468db6d5989e8c494 (patch) | |
tree | 8ac6827f4e31cbc6016eefafc134d76cdc4d7d2e /drivers/clk | |
parent | 0ee08a1e7b713dcf0d2526af35314dd7f21c8138 (diff) |
media: coda: only wake up capture queue if no pending buffers to encode
If there are no pending queued output buffers to be encoded, waking up
the capture queue with -EPIPE signals end of stream. If there are
pending buffers on the other hand, setting the V4L2_BUF_FLAG_LAST on
the resulting encoded capture buffers is all that is needed.
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>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions