diff options
author | wm4 <wm4@nowhere> | 2013-12-21 18:46:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:12 +0100 |
commit | 5f0fbacf1650392238d49df23a799ba4938f9326 (patch) | |
tree | 99590b24cc9bd5aa1c638516d335fd63fe6b2cce /player/main.c | |
parent | 71b6a5229562aff8d26d2b40ed0bf77d09beb80c (diff) | |
download | mpv-5f0fbacf1650392238d49df23a799ba4938f9326.tar.bz2 mpv-5f0fbacf1650392238d49df23a799ba4938f9326.tar.xz |
codecs: mp_msg conversion
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/player/main.c b/player/main.c index ab3e7b93f9..0cf0a1a447 100644 --- a/player/main.c +++ b/player/main.c @@ -194,16 +194,17 @@ static MP_NORETURN void exit_player(struct MPContext *mpctx, static bool handle_help_options(struct MPContext *mpctx) { struct MPOpts *opts = mpctx->opts; + struct mp_log *log = mpctx->log; int opt_exit = 0; if (opts->audio_decoders && strcmp(opts->audio_decoders, "help") == 0) { struct mp_decoder_list *list = audio_decoder_list(); - mp_print_decoders(MSGT_CPLAYER, MSGL_INFO, "Audio decoders:", list); + mp_print_decoders(log, MSGL_INFO, "Audio decoders:", list); talloc_free(list); opt_exit = 1; } if (opts->video_decoders && strcmp(opts->video_decoders, "help") == 0) { struct mp_decoder_list *list = video_decoder_list(); - mp_print_decoders(MSGT_CPLAYER, MSGL_INFO, "Video decoders:", list); + mp_print_decoders(log, MSGL_INFO, "Video decoders:", list); talloc_free(list); opt_exit = 1; } |