]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] s5p-mfc: Fix input/output format reporting
authorJohn Sheu <sheu@chromium.org>
Thu, 30 May 2013 19:42:08 +0000 (16:42 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 01:46:36 +0000 (22:46 -0300)
commitb2634562ad90be16441cff1127136457ea619466
tree8fcfbecedc292dd0caf64108a1bf16cd9f573372
parent1b2c14b44adcb7836528640bfdc40bf7499d987d
[media] s5p-mfc: Fix input/output format reporting

The video encode/decode paths have duplicated logic between
VIDIOC_TRY_FMT and VIDIOC_S_FMT that should be de-duped.  Also, video
decode reports V4L2_PIX_FMT_NV12MT_16X16 output format, regardless of
what the actual output has been set at.  Fix this.

Signed-off-by: John Sheu <sheu@google.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c