ao_pcm: change message to mention "-novideo" instead of "-vc null"

-novideo is the right way to disable video, and should also work in
more cases now that lavf is used as the default demuxer for more formats
(like AVI; internal AVI demuxer fails with -novideo).

Also change the man page description of -novideo a bit to make it
sound less negative about the chances of the option working.
This commit is contained in:
Uoti Urpala 2010-12-08 07:36:32 +02:00
parent 7001c2d994
commit 102b240e96
2 changed files with 2 additions and 2 deletions

View File

@ -4942,7 +4942,7 @@ Useful for benchmarking.
.TP
.B \-novideo
Do not play/\:encode video.
In many cases this will not work, use \-vc null \-vo null instead.
With some demuxers this may not work. In those cases you can try \-vc null \-vo null instead; but "\-vc null" is always unreliable.
.
.TP
.B \-pp <quality> (also see \-vf pp)

View File

@ -183,7 +183,7 @@ static int init(int rate,int channels,int format,int flags){
mp_tmsg(MSGT_AO, MSGL_INFO, "[AO PCM] File: %s (%s)\nPCM: Samplerate: %iHz Channels: %s Format %s\n", ao_outputfilename,
(ao_pcm_waveheader?"WAVE":"RAW PCM"), rate,
(channels > 1) ? "Stereo" : "Mono", af_fmt2str_short(format));
mp_tmsg(MSGT_AO, MSGL_INFO, "[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast\n[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).\n");
mp_tmsg(MSGT_AO, MSGL_INFO, "[AO PCM] Info: Faster dumping is achieved with -novideo -ao pcm:fast\n[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).\n");
fp = fopen(ao_outputfilename, "wb");
if(fp) {