From 69283bc0f8905e7748343f2c5389791f858a5f4c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Sep 2016 21:07:03 +0200 Subject: options: deprecate suboptions for the remaining AO/VOs --- audio/out/ao_pcm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/out/ao_pcm.c') diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c index c26f614f2d..535b77642d 100644 --- a/audio/out/ao_pcm.c +++ b/audio/out/ao_pcm.c @@ -226,4 +226,5 @@ const struct ao_driver audio_out_pcm = { OPT_FLAG("append", append, 0), {0} }, + .legacy_prefix = "ao-pcm", }; -- cgit v1.2.3 From 5a7b1ff4c0cb176ee94995646d310f6ffd60fe61 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 Sep 2016 12:54:33 +0200 Subject: ao_pcm: remove some useless messages The first one is printed even if the user disabled video (or there's no video), so just remove it. The second one uses deprecated sub-option syntax, so remove that as well. --- audio/out/ao_pcm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'audio/out/ao_pcm.c') diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c index 535b77642d..169a1b94a1 100644 --- a/audio/out/ao_pcm.c +++ b/audio/out/ao_pcm.c @@ -152,8 +152,6 @@ static int init(struct ao *ao) priv->outputfilename, priv->waveheader ? "WAVE" : "RAW PCM", ao->samplerate, ao->channels.num, af_fmt_to_str(ao->format)); - MP_INFO(ao, "Info: Faster dumping is achieved with --no-video\n"); - MP_INFO(ao, "Info: To write WAVE files use --ao=pcm:waveheader (default).\n"); priv->fp = fopen(priv->outputfilename, priv->append ? "ab" : "wb"); if (!priv->fp) { -- cgit v1.2.3