diff options
author | Julian <MyFakeAcc.4@googlemail.com> | 2015-05-22 21:25:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:31 +0200 |
commit | f9fe3b264ecfbd5a947871ef203779159c0e9303 (patch) | |
tree | 6a2c985720c044f3b9986195f677768941b0ab76 /player/lua | |
parent | a78fce46765c75a47512cd4d638b66fa9a40bd31 (diff) | |
download | mpv-f9fe3b264ecfbd5a947871ef203779159c0e9303.tar.bz2 mpv-f9fe3b264ecfbd5a947871ef203779159c0e9303.tar.xz |
stats: reflect latest changes to mpv
Some properties were renamed recently.
Of course this requires a recent mpv built (>
https://github.com/mpv-player/mpv/commit/f9507f) now.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/stats.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua index 961a326217..696fb0e030 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -125,8 +125,8 @@ function add_audio(s) local r = mp.get_property_osd("audio-codec") s.audio = s.audio .. b("Audio:") .. o.kv_sep .. no_ASS(r) - append_property(s, "audio", "audio-samplerate", "Sample Rate:") - append_property(s, "audio", "audio-channels", "Channels:") + append_property(s, "audio", "audio-params/samplerate", "Sample Rate:") + append_property(s, "audio", "audio-params/channel-count", "Channels:") append_property(s, "audio", "packet-audio-bitrate", "Bitrate:", " kbps") end |