Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Laurent <t.laurent@ateme.com>2018-11-07 19:56:41 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-11-07 22:55:41 +0300
commitfac1a1afaa275d7a54da5b08e43751f45d3e322e (patch)
treef9350045a03034b9328da56cc5e8156080014c30 /tools/dav1d_cli_parse.c
parent55d512c7a44a889f1d5f2a143c299f9e31bde094 (diff)
Add 'null' muxer in help
For benchmark purpose you do not need to process decoded frames. The null muxer allow you to do that.
Diffstat (limited to 'tools/dav1d_cli_parse.c')
-rw-r--r--tools/dav1d_cli_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dav1d_cli_parse.c b/tools/dav1d_cli_parse.c
index 28aa4dd..589d3e2 100644
--- a/tools/dav1d_cli_parse.c
+++ b/tools/dav1d_cli_parse.c
@@ -79,7 +79,7 @@ static void usage(const char *const app, const char *const reason, ...) {
" --input/-i $file: input file\n"
" --output/-o $file: output file\n"
" --demuxer $name: force demuxer type (must be 'ivf'; default: detect from extension)\n"
- " --muxer $name: force muxer type ('md5', 'yuv' or 'yuv4mpeg2'; default: detect from extension)\n"
+ " --muxer $name: force muxer type ('md5', 'yuv', 'yuv4mpeg2' or 'null'; default: detect from extension)\n"
" --quiet/-q: disable status messages\n"
" --limit/-l $num: stop decoding after $num frames\n"
" --skip/-s $num: skip decoding of the first $num frames\n"
@@ -180,6 +180,6 @@ void parse(const int argc, char *const *const argv,
if (!cli_settings->inputfile)
usage(argv[0], "Input file (-i/--input) is required");
- if (!cli_settings->outputfile)
+ if (strcmp(cli_settings->muxer,"null") && !cli_settings->outputfile)
usage(argv[0], "Output file (-o/--output) is required");
}