mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 03:10:55 +00:00
mplayer -af help now lists all available audio filters.
Updated manual page. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13270 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2fa8fe4ad3
commit
bdc25d636e
@ -2766,6 +2766,9 @@ Skip FFmpeg's MP3 decoder.
|
|||||||
.B \-af <filter1[=parameter1:parameter2:...],filter2,...>
|
.B \-af <filter1[=parameter1:parameter2:...],filter2,...>
|
||||||
Activate a comma separated list of audio filters and their options.
|
Activate a comma separated list of audio filters and their options.
|
||||||
Also see the audio filters section of the documentation.
|
Also see the audio filters section of the documentation.
|
||||||
|
.br
|
||||||
|
.I NOTE:
|
||||||
|
To get a full list of available audio filters, see \-af help.
|
||||||
.sp 1
|
.sp 1
|
||||||
Available filters are:
|
Available filters are:
|
||||||
.RSs
|
.RSs
|
||||||
|
@ -610,3 +610,11 @@ int af_control_any_rev (af_stream_t* s, int cmd, void* arg) {
|
|||||||
return (res == AF_OK);
|
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++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -205,6 +205,9 @@ int af_to_ms(int n, int* in, float* out, int rate);
|
|||||||
/* Helper function for testing the output format */
|
/* Helper function for testing the output format */
|
||||||
int af_test_output(struct af_instance_s* af, af_data_t* out);
|
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
|
/* 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
|
filter doesn't operate on the incoming buffer this macro must be
|
||||||
called to ensure the buffer is big enough. */
|
called to ensure the buffer is big enough. */
|
||||||
|
@ -950,6 +950,11 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
if(af_cfg.list && strcmp(af_cfg.list[0],"help")==0){
|
||||||
|
af_help();
|
||||||
|
printf("\n");
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
#ifdef HAVE_X11
|
#ifdef HAVE_X11
|
||||||
if(vo_fstype_list && strcmp(vo_fstype_list[0],"help")==0){
|
if(vo_fstype_list && strcmp(vo_fstype_list[0],"help")==0){
|
||||||
fstype_help();
|
fstype_help();
|
||||||
|
Loading…
Reference in New Issue
Block a user