From ba9aa1f39f592cfa897400de839da7b6e0b93d47 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 14 Sep 2024 03:52:06 +0200 Subject: Allow -fm content with monitor capture on x11 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 2c302ab..d12998f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2771,7 +2771,7 @@ int main(int argc, char **argv) { usage(); } - if(framerate_mode == FramerateMode::CONTENT && (wayland || is_monitor_capture)) { + if(framerate_mode == FramerateMode::CONTENT && wayland) { fprintf(stderr, "Error: -fm 'content' is currently only supported on X11 and when capturing a single window.\n"); usage(); } -- cgit v1.2.3