1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-27 18:13:15 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1890 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-09-12 22:19:36 +00:00
parent 46bf7cce06
commit 670e705235

View File

@ -866,13 +866,16 @@ if(sh_audio){
if(!init_audio(sh_audio)){
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CouldntInitAudioCodec);
sh_audio=d_audio->sh=NULL;
#ifdef HAVE_NEW_GUI
if ( use_gui ) mplShMem->AudioType=0;
#endif
} else {
mp_msg(MSGT_CPLAYER,MSGL_INFO,"AUDIO: srate=%d chans=%d bps=%d sfmt=0x%X ratio: %d->%d\n",sh_audio->samplerate,sh_audio->channels,sh_audio->samplesize,
sh_audio->sample_format,sh_audio->i_bps,sh_audio->o_bps);
}
#ifdef HAVE_NEW_GUI
if ( use_gui ) mplShMem->AudioType=sh_audio->channels;
if ( use_gui ) mplShMem->AudioType=sh_audio->channels;
#endif
}
}
//================== Init VIDEO (codec & libvo) ==========================