Mercurial > mplayer.hg
comparison mplayer.c @ 16758:dbe5207f8c92
exit mplayer if audio filter init fails (same as mencoder does)
author | ivo |
---|---|
date | Thu, 13 Oct 2005 22:41:30 +0000 |
parents | 2d8ace98bb6d |
children | 6809ca5dd307 |
comparison
equal
deleted
inserted
replaced
16757:e199fcec84a5 | 16758:dbe5207f8c92 |
---|---|
2251 (int)(sh_audio->samplerate*playback_speed), | 2251 (int)(sh_audio->samplerate*playback_speed), |
2252 sh_audio->channels, sh_audio->sample_format, | 2252 sh_audio->channels, sh_audio->sample_format, |
2253 // output: | 2253 // output: |
2254 &ao_data.samplerate, &ao_data.channels, &ao_data.format)){ | 2254 &ao_data.samplerate, &ao_data.channels, &ao_data.format)){ |
2255 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_AudioFilterChainPreinitError); | 2255 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_AudioFilterChainPreinitError); |
2256 exit_player(MSGTR_Exit_error); | |
2256 } | 2257 } |
2257 #endif | 2258 #endif |
2258 current_module="ao2_init"; | 2259 current_module="ao2_init"; |
2259 if(!(audio_out=init_best_audio_out(audio_driver_list, | 2260 if(!(audio_out=init_best_audio_out(audio_driver_list, |
2260 0, // plugin flag | 2261 0, // plugin flag |