mirror of
https://github.com/mpv-player/mpv
synced 2025-03-26 22:42:47 +01:00

There's no good explanation, but I can no longer reproduce the issue described in the commit. The code as is can cause a "File descriptor in bad state" message when looping or advancing in a playlist because it jumps a bit too early to the eof part. Perhaps something in alsa somehow changed, but the non-gapless audio freezing thing doesn't happen anymore. The audio state correctly updates on play/pause without these lines. Since this is known to cause problems elsewhere, just revert it for now. If the alsa problem crops up again in the future, we can revisit it then. This reverts commit d33e54250e6643bdd20879eae1921fe18aecccd5.