summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-16 19:13:20 +0100
committerwm4 <wm4@nowhere>2015-03-16 19:14:08 +0100
commit699fc0e51e4672d567f85a3589a140eda69c9ee2 (patch)
treeefc0f5d0e5ad2787324ea4bab4f1dedf77756ad0 /player/command.c
parent92f130997440951272a6147a1b01f1d0de302462 (diff)
downloadmpv-699fc0e51e4672d567f85a3589a140eda69c9ee2.tar.bz2
mpv-699fc0e51e4672d567f85a3589a140eda69c9ee2.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).
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c1
1 files changed, 0 insertions, 1 deletions
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;