vaapi: instantiate a VA display when registering
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 12 Jul 2016 17:56:02 +0000 (19:56 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 22 Jul 2016 15:23:23 +0000 (17:23 +0200)
commite070d3ebede3415699e6e72a5c953f304b951279
tree52c6a3a853a78134b48e89d7b53ee8c96a9910c1
parent1cba2f363385914e2c6cc445d19834c41f56a6e3
vaapi: instantiate a VA display when registering

This patch tries to instantiate a GstVaapiDisplay when registering the plugin
features, if it fails, no gstreamer-vaapi element is registering.

The purpose of this patch is to avoid a situation where the user has
gstreamer-vaapi installed but their VA-API setup is not functional, which may
lead to unexpected behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=724352
gst/vaapi/gstvaapi.c