[Mplayer-cvslog] CVS: main/libaf af.c,1.28,1.29 af.h,1.20,1.21

Ivo van Poorten CVS syncmail at mplayerhq.hu
Tue Sep 7 00:27:10 CEST 2004


CVS change done by Ivo van Poorten CVS

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

Modified Files:
	af.c af.h 
Log Message:
mplayer -af help now lists all available audio filters.
Updated manual page.



Index: af.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- af.c	25 Jun 2004 19:02:53 -0000	1.28
+++ af.c	6 Sep 2004 22:27:08 -0000	1.29
@@ -610,3 +610,11 @@
   return (res == AF_OK);
 }
 
+void af_help (void) {
+  int i = 0;
+  while (filter_list[i]) {
+    af_msg(AF_MSG_INFO, "  %-15s: %s\n", filter_list[i]->name, filter_list[i]->info);
+    i++;
+  }
+}
+

Index: af.h
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- af.h	26 Jun 2004 10:05:13 -0000	1.20
+++ af.h	6 Sep 2004 22:27:08 -0000	1.21
@@ -205,6 +205,9 @@
 /* Helper function for testing the output format */
 int af_test_output(struct af_instance_s* af, af_data_t* out);
 
+/** Print a list of all available audio filters */
+void af_help(void);
+
 /* Memory reallocation macro: if a local buffer is used (i.e. if the
    filter doesn't operate on the incoming buffer this macro must be
    called to ensure the buffer is big enough. */




More information about the MPlayer-cvslog mailing list