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).
This commit is contained in:
wm4 2015-03-16 19:13:20 +01:00
parent 92f1309974
commit 699fc0e51e
1 changed files with 0 additions and 1 deletions

View File

@ -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;