diff options
Diffstat (limited to '')
-rw-r--r-- | src/encoder_list.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/encoder_list.c b/src/encoder_list.c index d5f0db65a..d86753d50 100644 --- a/src/encoder_list.c +++ b/src/encoder_list.c @@ -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); +} |