From 3449e893e1cefc92e092e1952ed4db52f7247ce8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 1 Aug 2013 17:41:32 +0200 Subject: audio/out: add support for new logging API --- core/mplayer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/mplayer.c') diff --git a/core/mplayer.c b/core/mplayer.c index eff8e66fdd..f8da58df63 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -1650,8 +1650,9 @@ void reinit_audio_chain(struct MPContext *mpctx) mpctx->initialized_flags |= INITIALIZED_AO; mp_chmap_remove_useless_channels(&ao_channels, &opts->audio_output_channels); - mpctx->ao = ao_init_best(opts, mpctx->input, mpctx->encode_lavc_ctx, - ao_srate, ao_format, ao_channels); + mpctx->ao = ao_init_best(mpctx->global, mpctx->input, + mpctx->encode_lavc_ctx, ao_srate, ao_format, + ao_channels); struct ao *ao = mpctx->ao; if (!ao) { mp_tmsg(MSGT_CPLAYER, MSGL_ERR, -- cgit v1.2.3