From 1f01c05feffaea5d703898e152870957ec6cd71f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 15 May 2018 15:20:44 +0200 Subject: [PATCH] stats: show sample format of audio track --- player/lua/stats.lua | 1 + 1 file changed, 1 insertion(+) 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"})