[media] coda: set capture frame size with output S_FMT
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 5 Aug 2014 17:00:19 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:26 +0000 (15:25 -0500)
commitf95a6ce16736ac3aca4eda2238ccdf1913f3567f
tree04b699736d98bd1f3b57b55ba348f838b1af0393
parent2dc546d00c8deb22aac50c8cc0c6293aab975c6b
[media] coda: set capture frame size with output S_FMT

This patch makes coda_s_fmt_vid_out propagate the output frame size
to the capture side.
The GStreamer v4l2videodec only ever calls S_FMT on the output side
and then expects G_FMT on the capture side to return a valid format.

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