summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/encode_lavc.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/common/encode_lavc.c b/common/encode_lavc.c
index 72e99a5c30..bb7b6464e4 100644
--- a/common/encode_lavc.c
+++ b/common/encode_lavc.c
@@ -47,14 +47,18 @@ const struct m_sub_options encode_config = {
OPT_STRING("oac", acodec, M_OPT_FIXED),
OPT_STRINGLIST("oacopts", aopts, M_OPT_FIXED),
OPT_FLAG("oharddup", harddup, M_OPT_FIXED),
- OPT_FLOATRANGE("ovoffset", voffset, M_OPT_FIXED, -1000000.0, 1000000.0),
- OPT_FLOATRANGE("oaoffset", aoffset, M_OPT_FIXED, -1000000.0, 1000000.0),
+ OPT_FLOATRANGE("ovoffset", voffset, M_OPT_FIXED, -1000000.0, 1000000.0,
+ .deprecation_message = "--audio-delay (once unbroken)"),
+ OPT_FLOATRANGE("oaoffset", aoffset, M_OPT_FIXED, -1000000.0, 1000000.0,
+ .deprecation_message = "--audio-delay (once unbroken)"),
OPT_FLAG("ocopyts", copyts, M_OPT_FIXED),
OPT_FLAG("orawts", rawts, M_OPT_FIXED),
OPT_FLAG("oautofps", autofps, M_OPT_FIXED),
OPT_FLAG("oneverdrop", neverdrop, M_OPT_FIXED),
- OPT_FLAG("ovfirst", video_first, M_OPT_FIXED),
- OPT_FLAG("oafirst", audio_first, M_OPT_FIXED),
+ OPT_FLAG("ovfirst", video_first, M_OPT_FIXED,
+ .deprecation_message = "no replacement"),
+ OPT_FLAG("oafirst", audio_first, M_OPT_FIXED,
+ .deprecation_message = "no replacement"),
OPT_FLAG("ocopy-metadata", copy_metadata, M_OPT_FIXED),
OPT_KEYVALUELIST("oset-metadata", set_metadata, M_OPT_FIXED),
OPT_STRINGLIST("oremove-metadata", remove_metadata, M_OPT_FIXED),