diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2023-11-15 16:55:06 -0500 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-11-17 03:27:45 +0000 |
commit | c5e99ce6dbf7dc23b5818d9cf609a234368d2ae3 (patch) | |
tree | e5631af256fb3aa36c208a609bdeb2ad81d30dbb /subprojects | |
parent | 6ee94cd8c7292b22117231e12a1a2041c62450a9 (diff) |
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>
Diffstat (limited to 'subprojects')
-rw-r--r-- | subprojects/gstreamer-vaapi/gst/vaapi/gstvaapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/gstreamer-vaapi/gst/vaapi/gstvaapi.c b/subprojects/gstreamer-vaapi/gst/vaapi/gstvaapi.c index 8f4bb0ec92..f91d140d56 100644 --- a/subprojects/gstreamer-vaapi/gst/vaapi/gstvaapi.c +++ b/subprojects/gstreamer-vaapi/gst/vaapi/gstvaapi.c @@ -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 }; |