aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-01 01:04:24 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-01 01:04:24 +0200
commit1a61c64e3ff725d5a1a397f975e6227fa254018b (patch)
tree880f75e355a4272916bdc42d0d91c5c18b59e7e0 /src
parent7ed99770687c689734e8c8db6ed5f5c30b1f5fdb (diff)
Usage text
Diffstat (limited to 'src')
-rw-r--r--src/capture/kms.c1
-rw-r--r--src/main.cpp2
-rw-r--r--src/window/wayland.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/capture/kms.c b/src/capture/kms.c
index 2cbd757..8bb09a0 100644
--- a/src/capture/kms.c
+++ b/src/capture/kms.c
@@ -574,6 +574,7 @@ static void gsr_capture_kms_update_connector_ids(gsr_capture_kms *self) {
monitor.name = self->params.display_to_capture;
vec2i monitor_position = {0, 0};
+ // TODO: This is cached. We need it updated.
drm_monitor_get_display_server_data(self->params.egl->window, &monitor, &self->monitor_rotation, &monitor_position);
self->capture_pos = monitor.pos;
diff --git a/src/main.cpp b/src/main.cpp
index 6567551..b82aeee 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1308,7 +1308,7 @@ static void usage_full() {
printf(" %s -w screen -f 60 -a default_output -bm cbr -q 15000 -o video.mp4\n", program_name);
printf(" %s -w screen -f 60 -a \"app:firefox|app:csgo\" -o video.mp4\n", program_name);
printf(" %s -w screen -f 60 -a \"app-inverse:firefox|app-inverse:csgo\" -o video.mp4\n", program_name);
- printf(" %s -w screen -f 60 -a \"default-input|app-inverse:Brave\" -o video.mp4\n", program_name);
+ printf(" %s -w screen -f 60 -a \"default_input|app-inverse:Brave\" -o video.mp4\n", program_name);
printf(" %s -w screen -o image.jpg\n", program_name);
printf(" %s -w screen -q medium -o image.jpg\n", program_name);
printf(" %s -w region -region 640x480+100+100 -o video.mp4\n", program_name);
diff --git a/src/window/wayland.c b/src/window/wayland.c
index ba7b547..03ad47a 100644
--- a/src/window/wayland.c
+++ b/src/window/wayland.c
@@ -130,6 +130,7 @@ static void registry_remove_object(void *data, struct wl_registry *registry, uin
(void)data;
(void)registry;
(void)name;
+ // TODO: Remove output
}
static struct wl_registry_listener registry_listener = {