[MPlayer-cvslog] CVS: main/libaf af.c,1.35,1.36
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sun Dec 26 12:58:10 CET 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv8321/libaf
Modified Files:
af.c
Log Message:
Use lavcresample when accuracy-optimized audio filter chain is requested.
Index: af.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- af.c 23 Dec 2004 02:09:52 -0000 1.35
+++ af.c 26 Dec 2004 11:58:07 -0000 1.36
@@ -380,12 +380,13 @@
af_instance_t* af = NULL; // New filter
// Check output frequency if not OK fix with resample
if(s->last->data->rate!=s->output.rate){
- if(NULL==(af=af_get(s,"resample"))){
+ if(NULL==(af=af_get(s,"lavcresample")) &&
+ NULL==(af=af_get(s,"resample"))){
if((AF_INIT_TYPE_MASK & s->cfg.force) == AF_INIT_SLOW){
if(!strcmp(s->first->info->name,"format"))
- af = af_append(s,s->first,"resample");
+ af = af_append(s,s->first,"lavcresample");
else
- af = af_prepend(s,s->first,"resample");
+ af = af_prepend(s,s->first,"lavcresample");
}
else{
if(!strcmp(s->last->info->name,"format"))
More information about the MPlayer-cvslog
mailing list