mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-27 23:19:16 +00:00
avconv: move start_time, recording_time and input_ts_offset to options context
This commit is contained in:
parent
575ec4e17d
commit
6b779cccaa
6 changed files with 35 additions and 46 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue