diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index d35164f718..2290c6c6b1 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -56,6 +56,7 @@ Interface changes - add playlist-current-pos, playlist-playing-pos properties - Lua end-file events do not set the "error" field anymore, use "file_error" instead. + - deprecate encoding mode (lack of maintainer) --- mpv 0.32.0 --- - change behavior when using legacy option syntax with options that start with two dashes (``--`` instead of a ``-``). Now, using the recommended diff --git a/common/encode_lavc.c b/common/encode_lavc.c index f798a7007a..4d435a11ca 100644 --- a/common/encode_lavc.c +++ b/common/encode_lavc.c @@ -77,7 +77,8 @@ struct mux_stream { #define OPT_BASE_STRUCT struct encode_opts const struct m_sub_options encode_config = { .opts = (const m_option_t[]) { - {"o", OPT_STRING(file), .flags = CONF_NOCFG | CONF_PRE_PARSE | M_OPT_FILE}, + {"o", OPT_STRING(file), .flags = CONF_NOCFG | CONF_PRE_PARSE | M_OPT_FILE, + .deprecation_message = "lack of maintainer"}, {"of", OPT_STRING(format)}, {"ofopts", OPT_KEYVALUELIST(fopts), .flags = M_OPT_HAVE_HELP}, {"ovc", OPT_STRING(vcodec)},