mirror of https://git.ffmpeg.org/ffmpeg.git
ffmpeg_opt: Fix -timestamp parsing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 107e4da476
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6e7f434ad2
commit
91767369a7
|
@ -2801,7 +2801,7 @@ const OptionDef options[] = {
|
||||||
{ "itsscale", HAS_ARG | OPT_DOUBLE | OPT_SPEC |
|
{ "itsscale", HAS_ARG | OPT_DOUBLE | OPT_SPEC |
|
||||||
OPT_EXPERT | OPT_INPUT, { .off = OFFSET(ts_scale) },
|
OPT_EXPERT | OPT_INPUT, { .off = OFFSET(ts_scale) },
|
||||||
"set the input ts scale", "scale" },
|
"set the input ts scale", "scale" },
|
||||||
{ "timestamp", HAS_ARG | OPT_PERFILE, { .func_arg = opt_recording_timestamp },
|
{ "timestamp", HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_recording_timestamp },
|
||||||
"set the recording timestamp ('now' to set the current time)", "time" },
|
"set the recording timestamp ('now' to set the current time)", "time" },
|
||||||
{ "metadata", HAS_ARG | OPT_STRING | OPT_SPEC | OPT_OUTPUT, { .off = OFFSET(metadata) },
|
{ "metadata", HAS_ARG | OPT_STRING | OPT_SPEC | OPT_OUTPUT, { .off = OFFSET(metadata) },
|
||||||
"add metadata", "string=string" },
|
"add metadata", "string=string" },
|
||||||
|
|
Loading…
Reference in New Issue