mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Otherwise, the index can technically grow forever because sub_read_packets will trigger again, read the same packets, then add them to the list. We should just clear the cache here in this case to reset it back to 0. Also flag redraw_subs here as well.