Skip to content

libs: display: drm: allow user specify a drm device via an env variable

Haihao Xiang requested to merge haihao/gstreamer-vaapi:env-set-drm-device into master

Currently the default drm device is always used on a system with multiple drm devices. This patch allows user to specify the required drm device via GST_VAAPI_DRM_DEVICE env variable

Example: GST_VAAPI_DRM_DEVICE=/dev/dri/renderD129 gst-launch-1.0 videotestsrc ! vaapih264enc ! fakesink

Edited by Haihao Xiang

Merge request reports