diff options
author | sfan5 <sfan5@live.de> | 2018-05-15 15:20:44 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-17 22:54:56 +0300 |
commit | 1f01c05feffaea5d703898e152870957ec6cd71f (patch) | |
tree | b36f82c26d0779ac3da5b303b317d17b90f094b9 /player | |
parent | d65b6cf077a6ae7132814f0111b3e7a26760ec66 (diff) |
stats: show sample format of audio track
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/stats.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua index ad9cca2224..f18f44af53 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -537,6 +537,7 @@ local function add_audio(s) append(s, "", {prefix=o.nl .. o.nl .. "Audio:", 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["channel-count"], {prefix="Channels:"}) append_property(s, "packet-audio-bitrate", {prefix="Bitrate:", suffix=" kbps"}) |