From 1d5e95783e0bf05149fa6d5dc8a8aed3d02ff2e9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Dec 2016 18:12:54 +0100 Subject: options: explicitly deprecate --ad-spdif-dtshd Has been less formally deprecated for a longer time. --- options/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 108c805de7..f79df7d82f 100644 --- a/options/options.c +++ b/options/options.c @@ -426,7 +426,8 @@ const m_option_t mp_opts[] = { OPT_STRING("audio-spdif", audio_spdif, 0), - OPT_FLAG("ad-spdif-dtshd", dtshd, 0), + OPT_FLAG("ad-spdif-dtshd", dtshd, 0, + .deprecation_message = "use --audio-spdif instead"), OPT_CHOICE_C("hwdec", hwdec_api, 0, mp_hwdec_names), OPT_STRING("hwdec-codecs", hwdec_codecs, 0), -- cgit v1.2.3