[media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers
authorArchit Taneja <archit@ti.com>
Tue, 11 Mar 2014 07:47:52 +0000 (04:47 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Apr 2014 12:44:25 +0000 (09:44 -0300)
commitbbe24c6759b341ab2504318e50ccd5482f5e6002
treea4294b9f7b290c7aa219c6db36676330267899b3
parent5269fef77e14c22b1fde44bc0973a18cf233f778
[media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers

The dequed CAPTURE_MPLANE type buffers don't contain the flags that the
originally queued OUTPUT_MPLANE type buffers have. This breaks compliance.

Copy the source v4l2_buffer flags to the destination v4l2_buffer flags before
they are dequed.

Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/ti-vpe/vpe.c