diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-28 18:20:17 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-04 13:12:00 +0200 |
commit | 6b779cccaab1856575b1840e09510b0f54e988a6 (patch) | |
tree | 1b6a98f0375900edbfcc60c2ec391651eddb5e68 /cmdutils.c | |
parent | 575ec4e17d4e9824bc015651dc99f0c778402866 (diff) | |
download | ffmpeg-6b779cccaab1856575b1840e09510b0f54e988a6.tar.gz |
avconv: move start_time, recording_time and input_ts_offset 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 6c64d47d01..3a41f45dbd 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -254,6 +254,8 @@ unknown_opt: *(int*)dst = parse_number_or_die(opt, arg, OPT_INT64, INT_MIN, INT_MAX); } else if (po->flags & OPT_INT64) { *(int64_t*)dst = parse_number_or_die(opt, arg, OPT_INT64, INT64_MIN, INT64_MAX); + } else if (po->flags & OPT_TIME) { + *(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->u.func_arg) { |