diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-12 22:19:36 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-12 22:19:36 +0000 |
commit | 670e705235b515a637d3d725a59775362d2249c3 (patch) | |
tree | 46f94be987e75af82cb9a96e634056fbe5d01047 /mplayer.c | |
parent | 46bf7cce063a4ef1469e9381d5be27535b8e0e67 (diff) | |
download | mpv-670e705235b515a637d3d725a59775362d2249c3.tar.bz2 mpv-670e705235b515a637d3d725a59775362d2249c3.tar.xz |
fix, bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1890 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) ========================== |