[Mplayer-cvslog] CVS: main mplayer.c,1.657,1.658

Arpi of Ize arpi at mplayerhq.hu
Mon Jan 20 22:28:23 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv30402

Modified Files:
	mplayer.c 
Log Message:
don't -nosound if libaf init failed (hwac3 fix)


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.657
retrieving revision 1.658
diff -u -r1.657 -r1.658
--- mplayer.c	19 Jan 2003 00:21:39 -0000	1.657
+++ mplayer.c	20 Jan 2003 21:28:05 -0000	1.658
@@ -1676,8 +1676,8 @@
 	audio_out_format_bits(ao_data.format)/8, /* ao_data.bps, */
 	ao_data.outburst*4, ao_data.buffersize)){
       mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format! -> NOSOUND\n");
-      uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
-      sh_audio=d_audio->sh=NULL; // -> nosound
+//      uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
+//      sh_audio=d_audio->sh=NULL; // -> nosound
     }
 #endif
   }



More information about the MPlayer-cvslog mailing list