hls: Make resume work again

Fixes #2400