diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-29 09:16:42 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-05 11:15:40 +0200 |
commit | 33f75d72e6769c071899be545cc861620c88fddb (patch) | |
tree | dd21b8df9e22d37625e8747f953b42d41eb89398 /cmdutils.c | |
parent | c5bb372e85d56df9974bd568bdb3ad70e0abae58 (diff) | |
download | ffmpeg-33f75d72e6769c071899be545cc861620c88fddb.tar.gz |
avconv: move ts scale to options context.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c index 3a41f45dbd..52ec96f951 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -258,6 +258,8 @@ unknown_opt: *(int64_t*)dst = parse_time_or_die(opt, arg, 1); } else if (po->flags & OPT_FLOAT) { *(float*)dst = parse_number_or_die(opt, arg, OPT_FLOAT, -INFINITY, INFINITY); + } else if (po->flags & OPT_DOUBLE) { + *(double*)dst = parse_number_or_die(opt, arg, OPT_DOUBLE, -INFINITY, INFINITY); } else if (po->u.func_arg) { int ret = po->flags & OPT_FUNC2 ? po->u.func2_arg(optctx, opt, arg) : po->u.func_arg(opt, arg); |