aboutsummaryrefslogtreecommitdiff
path: root/include/capture/kms_vaapi.h
diff options
context:
space:
mode:
authordec05eba <dec05eba®protonmail.com>2023-04-16 22:48:22 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-16 22:50:43 +0200
commitc0ebae365d3ee20dc6ed1cf71d998bf040e93149 (patch)
treed66723be1a63cb7fb571a7115972c79fde5176f9 /include/capture/kms_vaapi.h
parentd953d0bb363799211d546035e825d248b9b3c2ed (diff)
Find /dev/dri/card path that exists (the first one)
Diffstat (limited to 'include/capture/kms_vaapi.h')
-rw-r--r--include/capture/kms_vaapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/capture/kms_vaapi.h b/include/capture/kms_vaapi.h
index a4aa3ed..2836123 100644
--- a/include/capture/kms_vaapi.h
+++ b/include/capture/kms_vaapi.h
@@ -12,6 +12,7 @@ typedef struct {
Display *dpy;
const char *display_to_capture; /* if this is "screen", then the entire x11 screen is captured (all displays). A copy is made of this */
gsr_gpu_info gpu_inf;
+ const char *card_path; /* reference */
} gsr_capture_kms_vaapi_params;
gsr_capture* gsr_capture_kms_vaapi_create(const gsr_capture_kms_vaapi_params *params);