mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
vaapi: add device env to plugin dependencies
In a multi-gpu system, each device may support different features. Add GST_VAAPI_DRM_DEVICE to plugin dependencies to ensure registered features are re-evaluated according to user specified device. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5675>
This commit is contained in:
parent
6ee94cd8c7
commit
c5e99ce6db
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ static void
|
|||
plugin_add_dependencies (GstPlugin * plugin)
|
||||
{
|
||||
const gchar *envvars[] = { "GST_VAAPI_ALL_DRIVERS", "LIBVA_DRIVER_NAME",
|
||||
"DISPLAY", "WAYLAND_DISPLAY", NULL
|
||||
"DISPLAY", "WAYLAND_DISPLAY", "GST_VAAPI_DRM_DEVICE", NULL
|
||||
};
|
||||
const gchar *kernel_paths[] = { "/dev/dri", NULL };
|
||||
const gchar *kernel_names[] = { "card", "render", NULL };
|
||||
|
|
Loading…
Reference in a new issue