cmdline: print out list of encoders in --version info

This commit is contained in:
Viliam Mateicka
2009-11-17 20:39:26 +01:00
parent ea92dee1ae
commit d37b4bb199
4 changed files with 30 additions and 0 deletions

View File

@@ -59,3 +59,13 @@ encoder_plugin_get(const char *name)
return NULL;
}
void
encoder_plugin_print_all_types(FILE * fp)
{
for (unsigned i = 0; encoder_plugins[i] != NULL; ++i)
fprintf(fp, "%s ", encoder_plugins[i]->name);
fprintf(fp, "\n");
fflush(fp);
}