[skip ci] Redo OTF processing

This commit is contained in:
Brahim Hadriche committed 2025-11-07 08:29:45 -05:00
1 parent c602fe3ed2
commit a42c7221c6
5 files changed
+199 -156

No files matched your search

@@ -496,11 +496,7 @@ class DashManifest
xml.Comment(`[ERROR] OTF stream has empty otfSegmentDurations for itag: ${stream.itag}`)
end if
for each segment in segmentDurations
sAttributes = { "d": segment.duration }
if segment.repeatCount <> invalid
sAttributes["r"] = segment.repeatCount
end if
xml.EmptyNode("S", sAttributes)
xml.EmptyNode("S", segment)
end for
xml.End()
end if