mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
don't -nosound if libaf init failed (hwac3 fix)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5c3ef4674a
commit
9b14c6f5ac
@ -1676,8 +1676,8 @@ if(sh_audio){
|
||||
audio_out_format_bits(ao_data.format)/8, /* ao_data.bps, */
|
||||
ao_data.outburst*4, ao_data.buffersize)){
|
||||
mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format! -> NOSOUND\n");
|
||||
uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
|
||||
sh_audio=d_audio->sh=NULL; // -> nosound
|
||||
// uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
|
||||
// sh_audio=d_audio->sh=NULL; // -> nosound
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user