vaapipostproc: fix passthrough mode.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Aug 2014 13:17:29 +0000 (15:17 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Aug 2014 13:54:32 +0000 (15:54 +0200)
commit92fcb38ba67e5f91577b5d0b7392767b61df84a4
tree32eb14fad9459ab1d36a39e15674d745728bb10d
parentdb111fe72a7ae0592f398307f95ba328e6a6be09
vaapipostproc: fix passthrough mode.

If no explicit output surface format is supplied try to keep the one
supplied through the sink pad caps. This avoids a useless copy, even
if things are kept in GPU memory.

This is a performance regression from git commit dfa70b9.
gst/vaapi/gstvaapipostproc.c