wayland: render the raw surface if VPP failed.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 27 Aug 2013 16:24:12 +0000 (18:24 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 27 Aug 2013 16:29:45 +0000 (18:29 +0200)
commit1362352825015b6b7aa5306cfc10ede30296153a
tree6dd13ae51d927587294624d2058ed64c9d9fb517
parent7759acd2f009d21645bc5ecda1ce7eb11ca44ee8
wayland: render the raw surface if VPP failed.

As a last resort, if video processing capabilities (VPP) are not available,
or they did not produce anything conclusive enough, then try to fallback to
the original rendering code path whereby the whole VA surface is rendered
as is, no matter of video cropping or deinterlacing requests.

Note: under those conditions, the visual outcome won't be correct but at
least, something gets displayed instead of bailing out.
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c