Move unknown_tag serialization after start serialization in MediaPlaylist

This commit is contained in:
Yannick Poirier 2024-01-10 14:19:57 +01:00
parent 45a399344a
commit f0132fb11d

View file

@ -761,14 +761,12 @@ impl MediaPlaylist {
if self.i_frames_only {
writeln!(w, "#EXT-X-I-FRAMES-ONLY")?;
}
for unknown_tag in &self.unknown_tags {
writeln!(w, "{}", unknown_tag)?;
}
if let Some(ref start) = self.start {
start.write_to(w)?;
}
for unknown_tag in &self.unknown_tags {
writeln!(w, "{}", unknown_tag)?;
}
for segment in &self.segments {
segment.write_to(w)?;
}