summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-16 19:13:20 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-03-17 10:49:56 +0900
commit4c1b45b5ab97ac1efd7fca1a7d97ddf4baca6826 (patch)
tree26ae96e4485b57a028ed4222204d864d054f40c8
parent8932d90ec6aeb3cc1f3640871798c40b3439d883 (diff)
downloadmpv-4c1b45b5ab97ac1efd7fca1a7d97ddf4baca6826.tar.bz2
mpv-4c1b45b5ab97ac1efd7fca1a7d97ddf4baca6826.tar.xz
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)
-rw-r--r--player/command.c1
1 files changed, 0 insertions, 1 deletions
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;