summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
authorJulian <MyFakeAcc.4@googlemail.com>2017-06-16 12:38:41 +0200
committerwm4 <wm4@nowhere>2017-10-09 20:40:32 +0200
commitfa80ac13b60745bc743feaee2bc3e5980151de03 (patch)
tree394d0c834e877e01c4a1793b053bcff33c2a5900 /player/client.c
parent6f9a7d1fdb40ac7cdf7c6dbfebeedf881c75776b (diff)
downloadmpv-fa80ac13b60745bc743feaee2bc3e5980151de03.tar.bz2
mpv-fa80ac13b60745bc743feaee2bc3e5980151de03.tar.xz
stats: add support for deprecated properties
Previously, we used a property and when it was unavailable we assumed it doesn't exist before assuming it really is just unavailable. This lead to unnecessarily falling back to deprecated properties which made mpv print deprecation warnings. Now we can really check if a property is not known to mpv. The alternative would've been to check the error part of mp.get_property and perform string comparisons on the returned error message. Not sure if supporting old mpv versions is actually worth it though. Fixes #37 #36
Diffstat (limited to 'player/client.c')
0 files changed, 0 insertions, 0 deletions