diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-01 17:41:32 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-01 20:32:49 +0200 |
commit | 3449e893e1cefc92e092e1952ed4db52f7247ce8 (patch) | |
tree | 44a9657081e24aa33de94dc69c303407776da173 /core | |
parent | 01178727a9e5808177d49aa5c26b0b9dbd1fcce0 (diff) | |
download | mpv-3449e893e1cefc92e092e1952ed4db52f7247ce8.tar.bz2 mpv-3449e893e1cefc92e092e1952ed4db52f7247ce8.tar.xz |
audio/out: add support for new logging API
Diffstat (limited to 'core')
-rw-r--r-- | core/mplayer.c | 5 |
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, |