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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-28 20:20:17 +0400
committerAnton Khirnov <anton@khirnov.net>2011-09-04 15:12:00 +0400
commit6b779cccaab1856575b1840e09510b0f54e988a6 (patch)
tree1b6a98f0375900edbfcc60c2ec391651eddb5e68 /cmdutils.c
parent575ec4e17d4e9824bc015651dc99f0c778402866 (diff)
avconv: move start_time, recording_time and input_ts_offset to options context
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
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) {