|
|
|
@ -1347,6 +1347,14 @@ static int opt_qphist(void *optctx, const char *opt, const char *arg) |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#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 |
|
|
|
|
|
|
|
|
|
#define OFFSET(x) offsetof(OptionsContext, x) |
|
|
|
|
const OptionDef options[] = { |
|
|
|
|
/* main options */ |
|
|
|
@ -1453,8 +1461,10 @@ const OptionDef options[] = { |
|
|
|
|
"set video sync method globally; deprecated, use -fps_mode", "" }, |
|
|
|
|
{ "frame_drop_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, { &frame_drop_threshold }, |
|
|
|
|
"frame drop threshold", "" }, |
|
|
|
|
{ "adrift_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, { &audio_drift_threshold }, |
|
|
|
|
"audio drift threshold", "threshold" }, |
|
|
|
|
#if FFMPEG_OPT_ADRIFT_THRESHOLD |
|
|
|
|
{ "adrift_threshold", HAS_ARG | OPT_EXPERT, { .func_arg = opt_adrift_threshold }, |
|
|
|
|
"deprecated, does nothing", "threshold" }, |
|
|
|
|
#endif |
|
|
|
|
{ "copyts", OPT_BOOL | OPT_EXPERT, { ©_ts }, |
|
|
|
|
"copy timestamps" }, |
|
|
|
|
{ "start_at_zero", OPT_BOOL | OPT_EXPERT, { &start_at_zero }, |
|
|
|
|