aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-29 06:45:55 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-29 06:45:55 +0200
commit04d229caf3a8529ad2762791e8443e119dfb58a7 (patch)
tree40bc4ee6973b518c2e0c398ff4088797b820d2e4 /src/main.cpp
parent1f71584a77494a41338a96f2d8e65df9a7a280b0 (diff)
Use direct capture when possible
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9a5c631..5134f0e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -611,7 +611,7 @@ static void usage() {
fprintf(stderr, " -w Window to record or a display or \"screen\". The display is the display name in xrandr and if \"screen\" is selected then all displays are recorded and they are recorded in h265 (aka hevc). Recording a display requires a gpu with NvFBC support.\n");
//fprintf(stderr, " -s The screen region to capture in format WxH+X+Y. This is only applicable when -w is a display or \"screen\". Optional, the entire window/display/screen is recorded by default.\n");
fprintf(stderr, " -c Container format for output file, for example mp4, or flv.\n");
- fprintf(stderr, " -f Framerate to record at. Clamped to [1,500].\n");
+ fprintf(stderr, " -f Framerate to record at. Clamped to [1,250].\n");
fprintf(stderr, " -a Audio device to record from (pulse audio device). Optional, disabled by default.\n");
fprintf(stderr, " -q Video quality. Should either be 'medium', 'high' or 'ultra'. Optional, set to 'medium' be default.\n");
fprintf(stderr, " -r Replay buffer size in seconds. If this is set, then only the last seconds as set by this option will be stored"
@@ -705,8 +705,8 @@ int main(int argc, char **argv) {
fprintf(stderr, "Invalid fps argument: %s\n", args["-f"].value);
return 1;
}
- if(fps > 500)
- fps = 500;
+ if(fps > 250)
+ fps = 250;
const char *quality_str = args["-q"].value;
if(!quality_str)