diff options
author | wm4 <wm4@nowhere> | 2012-11-30 17:32:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-03 21:08:48 +0100 |
commit | 358dc473146bd1fb6dec0ab41d9a9aa58b754d90 (patch) | |
tree | ca14ac905e118315d368c02ccd7e22e61e4fa363 /audio | |
parent | 1085539bde0937dd156566b3dea957f3efbe0b29 (diff) | |
download | mpv-358dc473146bd1fb6dec0ab41d9a9aa58b754d90.tar.bz2 mpv-358dc473146bd1fb6dec0ab41d9a9aa58b754d90.tar.xz |
ao_pcm: fix references to -novideo
The option is -no-video. Remove the deprecated "fast" suboption, which
did nothing and instructed the user to use "-novideo" instead.
Fix a reference to -novideo in encoding.rst.
Add a "generic" entry about -no-* to the list of renamed options. The
change is already explicitly mentioned in the text above the table, but
even if it's redundant, it makes it harder to overlook.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_pcm.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c index f0fd390c8e..5b3cc94395 100644 --- a/audio/out/ao_pcm.c +++ b/audio/out/ao_pcm.c @@ -127,11 +127,9 @@ static int init(struct ao *ao, char *params) struct priv *priv = talloc_zero(ao, struct priv); ao->priv = priv; - int fast = 0; const opt_t subopts[] = { {"waveheader", OPT_ARG_BOOL, &priv->waveheader, NULL}, {"file", OPT_ARG_MSTRZ, &priv->outputfilename, NULL}, - {"fast", OPT_ARG_BOOL, &fast, NULL}, {NULL} }; // set defaults @@ -140,11 +138,6 @@ static int init(struct ao *ao, char *params) if (subopt_parse(params, subopts) != 0) return -1; - if (fast) - mp_msg(MSGT_AO, MSGL_WARN, - "[AO PCM] Suboption \"fast\" is deprecated.\n" - "[AO PCM] Use -novideo, or -benchmark if you want " - "faster playback with video.\n"); if (!priv->outputfilename) priv->outputfilename = strdup(priv->waveheader ? "audiodump.wav" : "audiodump.pcm"); @@ -175,7 +168,7 @@ static int init(struct ao *ao, char *params) priv->waveheader ? "WAVE" : "RAW PCM", ao->samplerate, ao->channels, af_fmt2str_short(ao->format)); mp_tmsg(MSGT_AO, MSGL_INFO, - "[AO PCM] Info: Faster dumping is achieved with -novideo\n" + "[AO PCM] Info: Faster dumping is achieved with -no-video\n" "[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).\n"); priv->fp = fopen(priv->outputfilename, "wb"); |