From 9636af88b892703ed13ce9216723c63029b6dd1a Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Fri, 3 Sep 2021 19:38:10 +0200 Subject: Add automatic thread count selection Supports Linux, MacOS, and Windows. --- tools/dav1d_cli_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/dav1d_cli_parse.c b/tools/dav1d_cli_parse.c index d2f8dbe..ab38400 100644 --- a/tools/dav1d_cli_parse.c +++ b/tools/dav1d_cli_parse.c @@ -122,8 +122,8 @@ static void usage(const char *const app, const char *const reason, ...) { " --realtime [$fract]: limit framerate, optional argument to override input framerate\n" " --realtimecache $num: set the size of the cache in realtime mode (default: 0)\n" " --version/-v: print version and exit\n" - " --threads $num: number of threads (default: 1)\n" - " --framedelay $num: maximum frame delay, capped at $threads (default: 8);\n" + " --threads $num: number of threads (default: 0)\n" + " --framedelay $num: maximum frame delay, capped at $threads (default: 0);\n" " set to 1 for low-latency decoding\n" " --filmgrain $num: enable film grain application (default: 1, except if muxer is md5 or xxh3)\n" " --oppoint $num: select an operating point of a scalable AV1 bitstream (0 - 31)\n" -- cgit v1.2.3