From c0ebae365d3ee20dc6ed1cf71d998bf040e93149 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 16 Apr 2023 22:48:22 +0200 Subject: Find /dev/dri/card path that exists (the first one) --- include/capture/xcomposite_vaapi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/capture/xcomposite_vaapi.h') diff --git a/include/capture/xcomposite_vaapi.h b/include/capture/xcomposite_vaapi.h index e152f29..6cf30c3 100644 --- a/include/capture/xcomposite_vaapi.h +++ b/include/capture/xcomposite_vaapi.h @@ -11,6 +11,7 @@ typedef struct { Window window; bool follow_focused; /* If this is set then |window| is ignored */ vec2i region_size; /* This is currently only used with |follow_focused| */ + const char *card_path; /* reference */ } gsr_capture_xcomposite_vaapi_params; gsr_capture* gsr_capture_xcomposite_vaapi_create(const gsr_capture_xcomposite_vaapi_params *params); -- cgit v1.2.3