diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-09-01 12:39:15 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-09-06 09:49:02 +0200 |
commit | 59821a21e935392c76c31b6fb081ccc5c85582af (patch) | |
tree | 4de461c5477f8875f4054f08769b89cc589c9865 | |
parent | 2eb439416de641c56d09efa4a33671ab983eac12 (diff) |
vaapi: DISPLAY envvar as dependency
In a multiple video cards system, a X11 environment may have different VA
capabilities. This patch tracks the DISPLAY environment variable to
invalidates the GStreamer features cache. Also tracks WAYLAND_DISPLAY.
https://bugzilla.gnome.org/show_bug.cgi?id=770357
-rw-r--r-- | gst/vaapi/gstvaapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c index 4c4a90d9..6996f7ae 100644 --- a/gst/vaapi/gstvaapi.c +++ b/gst/vaapi/gstvaapi.c @@ -57,7 +57,7 @@ static void plugin_add_dependencies (GstPlugin * plugin) { const gchar *envvars[] = { "GST_VAAPI_ALL_DRIVERS", "LIBVA_DRIVER_NAME", - NULL + "DISPLAY", "WAYLAND_DISPLAY", NULL }; const gchar *kernel_paths[] = { "/dev/dri", NULL }; const gchar *kernel_names[] = { "card", "render" }; |