[media] coda: don't start streaming without queued buffers
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 2 Dec 2015 16:58:53 +0000 (14:58 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 23 Dec 2015 16:03:35 +0000 (14:03 -0200)
commit49b966fa451c74bcb18fff415db0ae9b102fa33f
tree1741c798f50589f36107b6f5141f0e1fe8fcebf0
parentbb757d7bd3019a0af1513efaf020495b82a43056
[media] coda: don't start streaming without queued buffers

We could support start streaming with an empty output queue for the
BIT decoders due to the bitstream buffer which could still contain
data at this point, but there is really no reason for userspace to
expect this to work. Simplify the code by disallowing it.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c
This page took 0.024491 seconds and 5 git commands to generate.