vpe: Pass correct colorspace to s_fmt ioctl
authorNikhil Devshatwar <nikhil.nd@ti.com>
Mon, 3 Aug 2015 04:52:45 +0000 (10:22 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Mon, 3 Aug 2015 04:52:49 +0000 (10:22 +0530)
commit562a2c8d0be367c1497527bf65588c9de6b1cb59
tree64c808ad2d6a36c5860a03deb762190e3b80079a
parenta2f483ef833ce7a6f3e0b975d9e49267960b288e
vpe: Pass correct colorspace to s_fmt ioctl

Without passing correct colorspace, the RGB formats will not work.
This would lead to image corruption when displaying in the RGB format.
The colorspace is derived from the fourcc, but not passed to the s_fmt ioctl.
Correct this.

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