[media] coda: use picture type returned from hardware
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 Sep 2013 13:34:49 +0000 (10:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 28 Oct 2013 17:25:25 +0000 (15:25 -0200)
commit5166028d480c82f9a4d443db7c1a707f8aea285a
treedb5f439cefa75c981125d7fa02e457969f397398
parent927933f7b4b213357813b394ca66f7a6ce3d28f2
[media] coda: use picture type returned from hardware

Instead of copying v4l2_buf.flags from the source buffer, set
the destination buffer flags as reported by the hardware codec.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c