[media] s5p-mfc: Handle multi-frame input buffer
authorArun Kumar K <arun.kk@samsung.com>
Wed, 14 Nov 2012 12:26:45 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 26 Nov 2012 20:43:27 +0000 (18:43 -0200)
commitd2a0db1ee01aea154ccc460e45a16857e32c4427
tree0dd77747fbce5a32bc0c328e998d780c7bc9c305
parentd9acbe1ace5cacc5e104443d94c7402c7fb9dcf9
[media] s5p-mfc: Handle multi-frame input buffer

When one input buffer has multiple frames, it should be fed
again to the hardware with the remaining bytes. Removed the
check for P frame in this scenario as this condition can come with
all frame types.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: ARUN MANKUZHI <arun.m@samsung.com>
Acked-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c