From 5f0fbacf1650392238d49df23a799ba4938f9326 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 18:46:24 +0100 Subject: codecs: mp_msg conversion --- player/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'player') 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; } -- cgit v1.2.3