vaapi: declare external dependencies
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 28 Jun 2016 09:33:18 +0000 (11:33 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 22 Jul 2016 15:23:23 +0000 (17:23 +0200)
commit1cba2f363385914e2c6cc445d19834c41f56a6e3
treeaa6123b7a0fa6b382c4d9fd14b755430aa5d809b
parent024d5401955d4d7b1348ba5f68180719640aa93c
vaapi: declare external dependencies

There are two main external dependencies that define the feature set of this
plugin: a) the kernel and b) the VA driver

This patch tracks both dependencies, if any of them change, GStreamer will
re-inspect the plugin.

The kernel is tracked through the device files /dev/dri/card*

The VA driver is tracked through the files VA_DRIVERS_PATH/*_drv_video.so,
where VA_DRIVERS_PATH is the one defined in libva package configuration. Also,
the environment variables LIBVA_DRIVERS_PATH and LIBVA_DRIVER_NAME are tracked
since they modify the driver lookup.

Additionally, the environment variable GST_VAAPI_ALL_DRIVERS is tracked too.

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