From 699fc0e51e4672d567f85a3589a140eda69c9ee2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Mar 2015 19:13:20 +0100 Subject: [PATCH] command: don't drop audio buffers when switching filters This partially reverts commit ae7228c6. I guess the old behavior was slightly more popular. Fixes #1693 (probably). --- player/command.c | 1 - 1 file changed, 1 deletion(-) diff --git a/player/command.c b/player/command.c index a9314f0805..7db54d6cf8 100644 --- a/player/command.c +++ b/player/command.c @@ -3843,7 +3843,6 @@ static bool reinit_filters(MPContext *mpctx, enum stream_type mediatype) case STREAM_VIDEO: return reinit_video_filters(mpctx) >= 0; case STREAM_AUDIO: - clear_audio_output_buffers(mpctx); return reinit_audio_filters(mpctx) >= 0; } return false;