aboutsummaryrefslogtreecommitdiff
path: root/include/capture/portal.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-26 20:57:57 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-26 20:58:00 +0200
commit112640282d236587dff0fd09e5137bfbc4cfec06 (patch)
tree6eebc9f62bcfb0738d2967b76d2ccd1e42d5b6af /include/capture/portal.h
parent5ffa725367244bf24121a50e60831a9ed0283288 (diff)
Add option to change output resolution (-s)
Diffstat (limited to 'include/capture/portal.h')
-rw-r--r--include/capture/portal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/capture/portal.h b/include/capture/portal.h
index 2e2c6f2..3989b98 100644
--- a/include/capture/portal.h
+++ b/include/capture/portal.h
@@ -11,6 +11,7 @@ typedef struct {
bool restore_portal_session;
/* If this is set to NULL then this defaults to $XDG_CONFIG_HOME/gpu-screen-recorder/restore_token ($XDG_CONFIG_HOME defaults to $HOME/.config) */
const char *portal_session_token_filepath;
+ vec2i output_resolution;
} gsr_capture_portal_params;
gsr_capture* gsr_capture_portal_create(const gsr_capture_portal_params *params);