]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5p-mfc: Fix input/output format reporting
authorJohn Sheu <sheu@chromium.org>
Tue, 3 Sep 2013 11:26:42 +0000 (08:26 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 3 Sep 2013 12:24:08 +0000 (09:24 -0300)
commit19c2813c2882c7ecc6e1e8813f54ace495cfbe9a
tree6a393d57b2ea2f7a03f6b238412f4b9f52c6f109
parent26a20eb09d44dc064c4f5d1f024bd501c09edb4b
[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>
Cc: stable@vger.kernel.org
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c