[vlc-commits] hw: vaapi: try more DRM devices

Thomas Guillem git at videolan.org
Fri Dec 1 16:34:47 CET 2017


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Dec  1 16:28:13 2017 +0100| [fd89983803765acd410eb1c3a6c89730b4efdd7c] | committer: Thomas Guillem

hw: vaapi: try more DRM devices

Refs #19173

(cherry picked from commit 08718b26888a4e97f580df8811b076ced5b8ddd8)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=fd89983803765acd410eb1c3a6c89730b4efdd7c
---

 modules/hw/vaapi/vlc_vaapi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/hw/vaapi/vlc_vaapi.c b/modules/hw/vaapi/vlc_vaapi.c
index 022b706372..20de261770 100644
--- a/modules/hw/vaapi/vlc_vaapi.c
+++ b/modules/hw/vaapi/vlc_vaapi.c
@@ -123,6 +123,8 @@ vlc_vaapi_InitializeInstanceDRM(vlc_object_t *o,
     static const char *default_drm_device_paths[] = {
         "/dev/dri/renderD128",
         "/dev/dri/card0",
+        "/dev/dri/renderD129",
+        "/dev/dri/card1",
     };
 
     const char *user_drm_device_paths[] = { device };



More information about the vlc-commits mailing list