feat: print format in demuxer info
This commit is contained in:
@ -79,9 +79,11 @@ impl Display for DemuxerInfo {
|
|||||||
|
|
||||||
write!(
|
write!(
|
||||||
f,
|
f,
|
||||||
"Demuxer Info: duration={}, bitrate={}",
|
"Demuxer Info: duration={}, bitrate={}, format={}, mime={}",
|
||||||
format_time(self.duration),
|
format_time(self.duration),
|
||||||
bitrate_str
|
bitrate_str,
|
||||||
|
self.format,
|
||||||
|
self.mime_types
|
||||||
)?;
|
)?;
|
||||||
for c in &self.streams {
|
for c in &self.streams {
|
||||||
write!(f, "\n {}", c)?;
|
write!(f, "\n {}", c)?;
|
||||||
|
Reference in New Issue
Block a user