# must fail: media_playlist_playlists_o9_wai_180_gap_m3u8 # a gap segment rendered as a segment (hls_render::render_hls_with) diff --git a/wai/wai-rs/src/hls_render.rs b/wai/wai-rs/src/hls_render.rs index 7e29b8dd..52cd436d 100644 --- a/wai/wai-rs/src/hls_render.rs +++ b/wai/wai-rs/src/hls_render.rs @@ -259,9 +259,6 @@ pub fn render_hls_with(segments: &[Segment], r: &HlsRender, extras: &[SegmentExt out.push_str(&format!("#EXT-X-PROGRAM-DATE-TIME:{pdt}\n")); } part_lines(&mut out, &e.parts); - if e.gap { - out.push_str("#EXT-X-GAP\n"); - } // Fixed 3-dp seconds so the byte output is stable across platforms. out.push_str(&format!("#EXTINF:{},\n", seconds(s.duration_ms))); layer_lines(&mut out, &e.layers);