Go to the documentation of this file.
35 fprintf(stderr,
"Usage: enum_options type\n"
36 "type: format codec\n");
45 printf(
"@item -%s%s @var{", o->
name, per_stream ?
"[:stream_specifier]" :
"");
55 default: printf(
"value");
break;
71 printf(
"%s\n", o->
help);
75 printf(
"\nPossible values:\n@table @samp\n");
77 for (u = opts; u->
name; u++) {
79 printf(
"@item %s\n%s\n", u->
name, u->
help ? u->
help :
"");
81 printf(
"@end table\n");
89 printf(
"@table @option\n");
90 for (o = opts; o->
name; o++) {
94 printf(
"@end table\n");
101 printf(
"@section Format AVOptions\n");
109 printf(
"@section Codec AVOptions\n");
113 int main(
int argc,
char **argv)
118 printf(
"@c DO NOT EDIT THIS FILE!\n"
119 "@c It was generated by print_options.\n\n");
120 if (!strcmp(argv[1],
"format"))
122 else if (!strcmp(argv[1],
"codec"))