[Mplayer-cvslog] CVS: main/libaf af.c,1.30,1.31

Alex Beregszaszi syncmail at mplayerhq.hu
Tue Oct 5 21:36:50 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv21963

Modified Files:
	af.c 
Log Message:
make af_help conform better to the the afm/vfm/etc equivalents

Index: af.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- af.c	4 Oct 2004 19:11:05 -0000	1.30
+++ af.c	5 Oct 2004 19:36:47 -0000	1.31
@@ -616,8 +616,12 @@
 
 void af_help (void) {
   int i = 0;
+  af_msg(AF_MSG_INFO, "Available audio filters:\n");
   while (filter_list[i]) {
-    af_msg(AF_MSG_INFO, "  %-15s: %s\n", filter_list[i]->name, filter_list[i]->info);
+    if (filter_list[i]->comment && filter_list[i]->comment[0])
+      af_msg(AF_MSG_INFO, "  %-15s: %s (%s)\n", filter_list[i]->name, filter_list[i]->info, filter_list[i]->comment);
+    else
+      af_msg(AF_MSG_INFO, "  %-15s: %s\n", filter_list[i]->name, filter_list[i]->info);
     i++;
   }
 }




More information about the MPlayer-cvslog mailing list