mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-12-23 12:30:29 +00:00
Merge pull request #5 from unipro/master
Fix EXTINF and URI displaying bug
This commit is contained in:
commit
a304ac0a2f
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