mirror of https://github.com/mpv-player/mpv
7ab1080749
With certain speed settings, the following can happen at the start of
the playback:
- can_perform_wsola returns false, so no frames are written
- mp_scaletempo2_frames_available returns true when
p->input_buffer_final_frames is 0 and target_block_index < 0
This results in infinite loop and completely stalls audio filter
processing and playback. Fix this by only checking this condition
after the final frame is set.
Fixes:
|
||
---|---|---|
.. | ||
af_drop.c | ||
af_format.c | ||
af_lavcac3enc.c | ||
af_rubberband.c | ||
af_scaletempo.c | ||
af_scaletempo2.c | ||
af_scaletempo2_internals.c | ||
af_scaletempo2_internals.h |