mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
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
This commit is contained in:
parent
51974735e9
commit
1e37620fff
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user