v4l2: Fix conflict between libdrm and v4l2 fourcc
authorNikhil Devshatwar <nikhil.nd@ti.com>
Wed, 12 Mar 2014 13:40:52 +0000 (19:10 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Tue, 25 Mar 2014 09:02:51 +0000 (14:32 +0530)
commit5093e81a7a6cf3e9f11aa74591caeb5702301c85
tree1c6823ad8da3ca0f530857258bdf89e893f44de4
parentad7d7ec0e67ea36f80187e1d9155863a53de50b5
v4l2: Fix conflict between libdrm and v4l2 fourcc

For ARGB8888 format, libdrm(AR24) and v4l2 framework(RGB4)
both use different fourcc.
This patch sets fourcc to RGB4 when calling v4l2 ioctl for
AR24 color format.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
util/v4l2.c