From f4ee71a094f9c6e0739199704268b79d6f3177ef Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 26 Jan 2026 15:18:26 +0100 Subject: [PATCH] Remove fixed TODO --- TODO | 4 +--- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 690f6bc..37e7f38 100644 --- a/TODO +++ b/TODO @@ -312,8 +312,6 @@ Check if region capture works properly with fractional scaling on wayland. Add option to specify medium/high/very high/ultra for -bm cbr as well, which should automatically pick bitrate based on resolution and framerate. This should also be reflected in gsr ui. -Create a manpage and move --help text there and mention the manpage command to view it (and make it work in flatpak, maybe with man ). - Implement webcam support by using mjpeg with v4l2 and use ffmpeg mjpeg decoder. After adding rpc, making recording while in replay/streaming work differently. Start recording should take audio as an argument, to optionally specify different audio for recording than replay/stream. @@ -398,4 +396,4 @@ Return the max resolution of each codec in --info to display an error in the UI Should -low-power option also use vaapi/vulkan low power, if available? -Should capture option x=bla;y=bla be scaled by -s (output resolution scale)? width and height is. \ No newline at end of file +Should capture option x=bla;y=bla be scaled by -s (output resolution scale)? width and height is. diff --git a/src/main.cpp b/src/main.cpp index cd94916..00f158e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2269,6 +2269,7 @@ static std::string region_get_data(gsr_egl *egl, vec2i *region_size, vec2i *regi } else { region_position->x -= monitor_pos.x; region_position->y -= monitor_pos.y; + // Match drm plane coordinate space (1x scaling) to wayland coordinate space (which may have scaling set by user) region_position->x *= monitor_scale_inverted; region_position->y *= monitor_scale_inverted;