vaapipostproc: Fix wrong selection of passthrough mode.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 29 Jun 2015 10:35:59 +0000 (13:35 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 29 Jun 2015 10:35:59 +0000 (13:35 +0300)
commitd14a201699356d1a0fcb140d0700e15df52cc52e
tree140a7d55db3b7d83a8055bd7abfc956a5e840a6c
parenta1eef1c35505ae5df9d96ed98eab5c928da77e06
vaapipostproc: Fix wrong selection of passthrough mode.

The Current code path is falling back to passthorugh mode if there is no
vpp property set by the user explictily. But we should not use the
passthrough mode if the negotiated src pad caps have a differnt color space
format than sink pad caps (Even though the user didn't set the format property
explicitly).

https://bugzilla.gnome.org/show_bug.cgi?id=748184

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
gst/vaapi/gstvaapipostproc.c