aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-14 02:05:54 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-14 02:05:54 +0200
commit3e2e2444d9fa65ae404604542689cf7829c99cfa (patch)
tree704adb5142d2c3e2dc74c0b0b46fb248cfa7e8a1 /src/main.cpp
parent5f24cd6de6be57da2f36aa047c50285625213b47 (diff)
Properly cut out cursor outside video area when dealing with hevc amd padding
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ce56373..afc60d1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1504,6 +1504,7 @@ static gsr_capture* create_capture_impl(const char *window_str, const char *scre
window_str = first_output.output_name;
} else {
fprintf(stderr, "Error: no available output found\n");
+ _exit(1);
}
}