diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/player/command.c b/player/command.c index 7df0c8a6c3..1968e6d5e5 100644 --- a/player/command.c +++ b/player/command.c @@ -1462,12 +1462,7 @@ static void reload_audio_output(struct MPContext *mpctx) { if (!mpctx->ao) return; - ao_reset(mpctx->ao); - uninit_audio_out(mpctx); - // This normally recreates the AO, although there are situations when AO - // creation is delayed; for example if there are no audio packets around, - // and the audio format is yet unknown. - reinit_audio_chain(mpctx); + ao_request_reload(mpctx->ao); } static int mp_property_audio_device(void *ctx, struct m_property *prop, |