diff options
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c index af1d3427dc..bf14b25340 100644 --- a/player/main.c +++ b/player/main.c @@ -229,6 +229,10 @@ static bool handle_help_options(struct MPContext *mpctx) MP_INFO(mpctx, "\n"); opt_exit = 1; } + if (opts->audio_device && strcmp(opts->audio_device, "help") == 0) { + ao_print_devices(log); + opt_exit = 1; + } #if HAVE_ENCODING if (encode_lavc_showhelp(log, opts->encode_opts)) opt_exit = 1; |