aboutsummaryrefslogtreecommitdiff
path: root/src/capture
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-09 16:06:39 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-09 16:06:39 +0200
commit7dcf3a68cc8027bfa0d865e8a33566b4ae431618 (patch)
tree9d770edd2920f16d4e9649f5dc126a5279508dc5 /src/capture
parentcb82677ae8e7b3d5ef35a36b7c6d88020959864c (diff)
Use /usr/bin/gsr-kms-server constant path for pkexec
Diffstat (limited to 'src/capture')
-rw-r--r--src/capture/kms_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/kms_vaapi.c b/src/capture/kms_vaapi.c
index 2e970a3..a369765 100644
--- a/src/capture/kms_vaapi.c
+++ b/src/capture/kms_vaapi.c
@@ -98,7 +98,7 @@ static int gsr_capture_kms_vaapi_start(gsr_capture *cap, AVCodecContext *video_c
gsr_capture_kms_vaapi *cap_kms = cap->priv;
// TODO: Allow specifying another card, and in other places (TODO: Use /dev/dri/renderD128?)
- if(gsr_kms_client_init(&cap_kms->kms_client, "/dev/dri/card0", cap_kms->params.program_dir) != 0) {
+ if(gsr_kms_client_init(&cap_kms->kms_client, "/dev/dri/card0") != 0) {
return -1;
}