[Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.14,1.15

Anders Johansson anders at mplayerhq.hu
Sun Oct 6 13:23:06 CEST 2002


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

Modified Files:
	dec_audio.c 
Log Message:
Adding -format and -af switches

Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- dec_audio.c	5 Oct 2002 22:55:45 -0000	1.14
+++ dec_audio.c	6 Oct 2002 11:23:02 -0000	1.15
@@ -25,6 +25,7 @@
 #endif
 /* used for ac3surround decoder - set using -channels option */
 int audio_output_channels = 2;
+af_cfg_t af_cfg; // Configuration for audio filters
 
 static ad_functions_t* mpadec;
 
@@ -255,8 +256,7 @@
   afs->output.bps    = out_bps ? out_bps : afs->input.bps;
 
   // filter config:  
-  afs->cfg.force = 0;
-  afs->cfg.list = NULL;
+  memcpy(&afs->cfg,&af_cfg,sizeof(af_cfg_t));
   
   mp_msg(MSGT_DECAUDIO, MSGL_INFO, "Building audio filter chain for %dHz/%dch/%dbit -> %dHz/%dch/%dbit...\n",
       afs->input.rate,afs->input.nch,afs->input.bps*8,




More information about the MPlayer-cvslog mailing list