mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2024-12-22 22:46:37 +00:00
Move unknown_tag serialization after start serialization in MediaPlaylist
This commit is contained in:
parent
45a399344a
commit
f0132fb11d
1 changed files with 3 additions and 5 deletions
|
@ -761,14 +761,12 @@ impl MediaPlaylist {
|
||||||
if self.i_frames_only {
|
if self.i_frames_only {
|
||||||
writeln!(w, "#EXT-X-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 {
|
if let Some(ref start) = self.start {
|
||||||
start.write_to(w)?;
|
start.write_to(w)?;
|
||||||
}
|
}
|
||||||
|
for unknown_tag in &self.unknown_tags {
|
||||||
|
writeln!(w, "{}", unknown_tag)?;
|
||||||
|
}
|
||||||
for segment in &self.segments {
|
for segment in &self.segments {
|
||||||
segment.write_to(w)?;
|
segment.write_to(w)?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue