[FFmpeg-devel] [PATCH 1/2] avformat/segment: remove initial_offset option from segment.c

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Sep 8 16:44:10 EEST 2016


2016-09-08 15:33 GMT+02:00 Steven Liu <lingjiujianke at gmail.com>:

> -    { "initial_offset", "set initial timestamp offset",
> OFFSET(initial_offset), AV_OPT_TYPE_DURATION,
> {.i64 = 0}, -INT64_MAX, INT64_MAX, E },

You generally cannot simply remove options from FFmpeg.
(I did not look if the option is very new or imposes a security
issue or if there is another reason that makes the removal
acceptable.)

Alternatives are to ignore the option (instead of failing),
only print a warning or make sure that the option still
works if the new / general option isn't used.
I don't know which is best here but command lines that
used to work should not suddenly start to fail.

Carl Eugen


More information about the ffmpeg-devel mailing list