mirror of
https://github.com/sile/hls_m3u8.git
synced 2025-01-11 04:35:24 +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)?;
|
writeln!(f, "{}", t)?;
|
||||||
}
|
}
|
||||||
for segment in &self.segments {
|
for segment in &self.segments {
|
||||||
writeln!(f, "{}", segment)?;
|
write!(f, "{}", segment)?;
|
||||||
}
|
}
|
||||||
if let Some(ref t) = self.end_list_tag {
|
if let Some(ref t) = self.end_list_tag {
|
||||||
writeln!(f, "{}", t)?;
|
writeln!(f, "{}", t)?;
|
||||||
|
|
|
@ -108,7 +108,7 @@ impl fmt::Display for MediaSegment {
|
||||||
if let Some(ref t) = self.program_date_time_tag {
|
if let Some(ref t) = self.program_date_time_tag {
|
||||||
writeln!(f, "{}", t)?;
|
writeln!(f, "{}", t)?;
|
||||||
}
|
}
|
||||||
writeln!(f, "{}", self.inf_tag)?;
|
writeln!(f, "{},", self.inf_tag)?;
|
||||||
writeln!(f, "{}", self.uri)?;
|
writeln!(f, "{}", self.uri)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue