stats: show sample format of audio track

This commit is contained in:
sfan5 2018-05-15 15:20:44 +02:00 committed by Jan Ekström
parent d65b6cf077
commit 1f01c05fef
1 changed files with 1 additions and 0 deletions

View File

@ -537,6 +537,7 @@ local function add_audio(s)
append(s, "", {prefix=o.nl .. o.nl .. "Audio:", nl="", indent=""}) append(s, "", {prefix=o.nl .. o.nl .. "Audio:", nl="", indent=""})
append_property(s, "audio-codec", {prefix_sep="", nl="", indent=""}) append_property(s, "audio-codec", {prefix_sep="", nl="", indent=""})
append(s, r["format"], {prefix="Format:"})
append(s, r["samplerate"], {prefix="Sample Rate:", suffix=" Hz"}) append(s, r["samplerate"], {prefix="Sample Rate:", suffix=" Hz"})
append(s, r["channel-count"], {prefix="Channels:"}) append(s, r["channel-count"], {prefix="Channels:"})
append_property(s, "packet-audio-bitrate", {prefix="Bitrate:", suffix=" kbps"}) append_property(s, "packet-audio-bitrate", {prefix="Bitrate:", suffix=" kbps"})