vaapiupload: use new GstVaapiUploader helper.
authorZhao Halley <halley.zhao@intel.com>
Tue, 20 Nov 2012 13:32:40 +0000 (14:32 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 15:04:51 +0000 (16:04 +0100)
commitc2a610735ff2b3f7e6f7b801ec4263a5eb8359de
treee4d659464bc11d9ba165cec463edc26dc6507327
parentd4a4a49168bff11f94def0c2a716812db942f287
vaapiupload: use new GstVaapiUploader helper.

Use GstVaapiUploader helper that automatically handles direct rendering
mode, thus making the "direct-rendering" property obsolete and hence it
is now removed.

The "direct-rendering" level 2, i.e. exposing VA surface buffers, was never
really well supported and it could actually trigger degraded performance.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapiupload.c
gst/vaapi/gstvaapiupload.h