mirror of https://github.com/mpv-player/mpv
probably bad fix, but it's reported to fix hwac3 problems appeared in rc3
i have no idea about the real problem :( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9129 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ced2576aa5
commit
7b603cfb2c
|
@ -1675,10 +1675,15 @@ if(sh_audio){
|
||||||
ao_data.samplerate, ao_data.channels, ao_data.format,
|
ao_data.samplerate, ao_data.channels, ao_data.format,
|
||||||
audio_out_format_bits(ao_data.format)/8, /* ao_data.bps, */
|
audio_out_format_bits(ao_data.format)/8, /* ao_data.bps, */
|
||||||
ao_data.outburst*4, ao_data.buffersize)){
|
ao_data.outburst*4, ao_data.buffersize)){
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format! -> NOSOUND\n");
|
mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
|
||||||
|
#if 0
|
||||||
if(sh_audio->afilter){
|
if(sh_audio->afilter){
|
||||||
free(sh_audio->afilter); sh_audio->afilter=NULL;
|
free(sh_audio->afilter); sh_audio->afilter=NULL;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
sh_audio->afilter=NULL;
|
||||||
|
#endif
|
||||||
|
// mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format! -> NOSOUND\n");
|
||||||
// uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
|
// uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
|
||||||
// sh_audio=d_audio->sh=NULL; // -> nosound
|
// sh_audio=d_audio->sh=NULL; // -> nosound
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue