From 1e37620ffff5ef6cebc7c2987e6df152259ab1a1 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 5 Oct 2004 19:36:47 +0000 Subject: make af_help conform better to the the afm/vfm/etc equivalents git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13567 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libaf/af.c') diff --git a/libaf/af.c b/libaf/af.c index 7b1aeeda8e..c0dcd7d78a 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -616,8 +616,12 @@ int af_control_any_rev (af_stream_t* s, int cmd, void* arg) { 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++; } } -- cgit v1.2.3