summaryrefslogtreecommitdiffstats
path: root/common/encode_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-22 13:09:34 +0100
committerwm4 <wm4@nowhere>2020-03-22 13:09:34 +0100
commit019f95cf992419228a89d5dd8d9897e8862a07a2 (patch)
tree6c8148a9bcbde00273912a1055240bcc0a4469d0 /common/encode_lavc.c
parent63311762ede9a29354383448582b89769db7ab94 (diff)
downloadmpv-019f95cf992419228a89d5dd8d9897e8862a07a2.tar.bz2
mpv-019f95cf992419228a89d5dd8d9897e8862a07a2.tar.xz
encode: deprecate encoding mode
While I'd like to keep it, I'm apparently the maintainer now, and I have no idea what the heck some of this code does, so it's deprecated.
Diffstat (limited to 'common/encode_lavc.c')
-rw-r--r--common/encode_lavc.c3
1 files changed, 2 insertions, 1 deletions
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)},