mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2024-12-22 14:36:28 +00:00
Write out unknown tags for MediaPlaylist
too
Fixes https://github.com/rutgersc/m3u8-rs/issues/55
This commit is contained in:
parent
f9b5420c0a
commit
f66356ba7b
1 changed files with 4 additions and 0 deletions
|
@ -764,6 +764,10 @@ impl MediaPlaylist {
|
|||
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)?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue