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.
This commit is contained in:
Julian 2015-05-22 21:25:16 +02:00 committed by wm4
parent a78fce4676
commit f9fe3b264e
1 changed files with 2 additions and 2 deletions

View File

@ -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