diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-26 20:57:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-26 20:58:00 +0200 |
commit | 112640282d236587dff0fd09e5137bfbc4cfec06 (patch) | |
tree | 6eebc9f62bcfb0738d2967b76d2ccd1e42d5b6af /include/capture/portal.h | |
parent | 5ffa725367244bf24121a50e60831a9ed0283288 (diff) |
Add option to change output resolution (-s)
Diffstat (limited to 'include/capture/portal.h')
-rw-r--r-- | include/capture/portal.h | 1 |
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); |