[Mplayer-cvslog] CVS: main mplayer.c,1.278,1.279
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Sep 13 00:19:38 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv5312
Modified Files:
mplayer.c
Log Message:
fix, bug
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -r1.278 -r1.279
--- mplayer.c 12 Sep 2001 22:11:51 -0000 1.278
+++ mplayer.c 12 Sep 2001 22:19:36 -0000 1.279
@@ -866,13 +866,16 @@
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) ==========================
More information about the MPlayer-cvslog
mailing list