mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
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:
parent
92f1309974
commit
699fc0e51e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user