[MPlayer-dev-eng] [PATCH] make af-adv force=1 (high quality) default

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jul 7 10:28:52 CEST 2005


Hi,
as suggested by Rich, this patch lets MPlayer create a higher-quality
audio chanin by default (and using lavcresample). This is most important
for mencoder, but the speed loss seems minor anyway (and you can still
put af-adv=force=0 in your config...)
I intend to apply tomorrow if nobody objects.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.41
diff -u -r1.41 dec_audio.c
--- libmpcodecs/dec_audio.c	24 Jun 2005 10:50:53 -0000	1.41
+++ libmpcodecs/dec_audio.c	7 Jul 2005 08:23:17 -0000
@@ -27,7 +27,7 @@
 #endif
 /* used for ac3surround decoder - set using -channels option */
 int audio_output_channels = 2;
-af_cfg_t af_cfg; // Configuration for audio filters
+af_cfg_t af_cfg = {1, NULL}; // Configuration for audio filters
 
 void afm_help(){
     int i;


More information about the MPlayer-dev-eng mailing list