mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2024-12-31 18:28:40 +00:00
Write unknown_tags for MediaPlaylist
This commit is contained in:
parent
487d63da4d
commit
45a399344a
1 changed files with 5 additions and 0 deletions
|
@ -761,6 +761,11 @@ 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)?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue