hls: avoid triggering duplicate events