This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit d09f5815d79b866d6c5932e1088c5c18ec835d7e Author: Andreas Rheinhardt <[email protected]> AuthorDate: Mon Mar 9 13:18:01 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Jun 23 19:15:57 2026 +0200 fftools/ffmpeg_opt: Remove disabled and deprecated adrift_threshold Deprecated in commit 5a04aae82193d75b8f8814dc7e35f4cc84b1beba on 2023-05-02. Signed-off-by: Andreas Rheinhardt <[email protected]> --- fftools/ffmpeg.h | 1 - fftools/ffmpeg_opt.c | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 55aa5462f5..9ed48d34cd 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -52,7 +52,6 @@ #include "libswresample/swresample.h" // deprecated features -#define FFMPEG_OPT_ADRIFT_THRESHOLD 1 #define FFMPEG_OPT_ENC_TIME_BASE_NUM 1 #define FFMPEG_OPT_TOP 1 #define FFMPEG_OPT_FORCE_KF_SOURCE_NO_DROP 1 diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 06e3f089e6..8a892aec68 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -1597,14 +1597,6 @@ int opt_timelimit(void *optctx, const char *opt, const char *arg) return 0; } -#if FFMPEG_OPT_ADRIFT_THRESHOLD -static int opt_adrift_threshold(void *optctx, const char *opt, const char *arg) -{ - av_log(NULL, AV_LOG_WARNING, "Option -%s is deprecated and has no effect\n", opt); - return 0; -} -#endif - static const char *const alt_channel_layout[] = { "ch_layout", NULL}; static const char *const alt_codec[] = { "c", "acodec", "vcodec", "scodec", "dcodec", NULL }; static const char *const alt_filter[] = { "af", "vf", NULL }; @@ -2174,11 +2166,6 @@ const OptionDef options[] = { "set hardware device used when filtering", "device" }, // deprecated options -#if FFMPEG_OPT_ADRIFT_THRESHOLD - { "adrift_threshold", OPT_TYPE_FUNC, OPT_FUNC_ARG | OPT_EXPERT, - { .func_arg = opt_adrift_threshold }, - "deprecated, does nothing", "threshold" }, -#endif #if FFMPEG_OPT_TOP { "top", OPT_TYPE_INT, OPT_VIDEO | OPT_EXPERT | OPT_PERSTREAM | OPT_INPUT | OPT_OUTPUT, { .off = OFFSET(top_field_first) }, _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
