From 4c1b45b5ab97ac1efd7fca1a7d97ddf4baca6826 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Mar 2015 19:13:20 +0100 Subject: 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). (cherry picked from commit 699fc0e51e4672d567f85a3589a140eda69c9ee2) --- player/command.c | 1 - 1 file changed, 1 deletion(-) diff --git a/player/command.c b/player/command.c index c4dca77708..c775e0bcbd 100644 --- a/player/command.c +++ b/player/command.c @@ -3808,7 +3808,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; -- cgit v1.2.3