Mercurial > mplayer.hg
comparison mplayer.c @ 1889:dbfa0c00568b
fix, bug
author | pontscho |
---|---|
date | Wed, 12 Sep 2001 22:19:36 +0000 |
parents | 1f1e98fbf3a7 |
children | b55163894e30 |
comparison
equal
deleted
inserted
replaced
1888:1f1e98fbf3a7 | 1889:dbfa0c00568b |
---|---|
864 if(sh_audio){ | 864 if(sh_audio){ |
865 mp_msg(MSGT_CPLAYER,MSGL_V,"Initializing audio codec...\n"); | 865 mp_msg(MSGT_CPLAYER,MSGL_V,"Initializing audio codec...\n"); |
866 if(!init_audio(sh_audio)){ | 866 if(!init_audio(sh_audio)){ |
867 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CouldntInitAudioCodec); | 867 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CouldntInitAudioCodec); |
868 sh_audio=d_audio->sh=NULL; | 868 sh_audio=d_audio->sh=NULL; |
869 #ifdef HAVE_NEW_GUI | |
870 if ( use_gui ) mplShMem->AudioType=0; | |
871 #endif | |
869 } else { | 872 } else { |
870 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, | 873 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, |
871 sh_audio->sample_format,sh_audio->i_bps,sh_audio->o_bps); | 874 sh_audio->sample_format,sh_audio->i_bps,sh_audio->o_bps); |
872 } | |
873 #ifdef HAVE_NEW_GUI | 875 #ifdef HAVE_NEW_GUI |
874 if ( use_gui ) mplShMem->AudioType=sh_audio->channels; | 876 if ( use_gui ) mplShMem->AudioType=sh_audio->channels; |
875 #endif | 877 #endif |
878 } | |
876 } | 879 } |
877 | 880 |
878 //================== Init VIDEO (codec & libvo) ========================== | 881 //================== Init VIDEO (codec & libvo) ========================== |
879 | 882 |
880 current_module="init_video_codec"; | 883 current_module="init_video_codec"; |