summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-01 17:41:32 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-01 20:32:49 +0200
commit3449e893e1cefc92e092e1952ed4db52f7247ce8 (patch)
tree44a9657081e24aa33de94dc69c303407776da173 /core
parent01178727a9e5808177d49aa5c26b0b9dbd1fcce0 (diff)
downloadmpv-3449e893e1cefc92e092e1952ed4db52f7247ce8.tar.bz2
mpv-3449e893e1cefc92e092e1952ed4db52f7247ce8.tar.xz
audio/out: add support for new logging API
Diffstat (limited to 'core')
-rw-r--r--core/mplayer.c5
1 files changed, 3 insertions, 2 deletions
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,