mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
This commit is contained in:
parent
2eb439416d
commit
59821a21e9
1 changed files with 1 additions and 1 deletions
|
@ -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" };
|
||||
|
|
Loading…
Reference in a new issue