vaapipostproc: fix detection of output surface format changes.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Aug 2014 14:38:45 +0000 (16:38 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Aug 2014 07:40:06 +0000 (09:40 +0200)
commitdfa70b9e8504049ffc3374f0342d01ca2770a203
treee6d7925ebc792c743def5e341e2d82d9746c4a1f
parent913f2ef68c2887a9d9d0cdaf9da5098f45e7b446
vaapipostproc: fix detection of output surface format changes.

Default to I420 format for output surfaces so that to match the usual
GStreamer pipelines. Though, internally, we could still opt for NV12
surface formats, i.e. default format=ENCODED is a hint for that, thus
delegating the decision to the VA driver.
gst/vaapi/gstvaapipostproc.c