mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-25 16:41:00 +00:00
Fix EXTINF and URI displaying bug
This commit is contained in:
parent
7767f47f21
commit
788138903f
2 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@ impl fmt::Display for MediaPlaylist {
|
|||
writeln!(f, "{}", t)?;
|
||||
}
|
||||
for segment in &self.segments {
|
||||
writeln!(f, "{}", segment)?;
|
||||
write!(f, "{}", segment)?;
|
||||
}
|
||||
if let Some(ref t) = self.end_list_tag {
|
||||
writeln!(f, "{}", t)?;
|
||||
|
|
|
@ -108,7 +108,7 @@ impl fmt::Display for MediaSegment {
|
|||
if let Some(ref t) = self.program_date_time_tag {
|
||||
writeln!(f, "{}", t)?;
|
||||
}
|
||||
writeln!(f, "{}", self.inf_tag)?;
|
||||
writeln!(f, "{},", self.inf_tag)?;
|
||||
writeln!(f, "{}", self.uri)?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue