From 7dcebb016c24aaaf103c4a18c9b67cfe0a1007f6 Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 14 Jul 2016 14:50:54 +0900 Subject: stats: don't show video/audio-speed-correction when 0 This used to be the case, I'm not sure when it changed. The current way of 'hiding' it in case of 0 is not exactly good and relies on the OSD representation. It could be done better by querying the video-sync-active property but that would require querying yet one more thing... --- player/lua/stats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/stats.lua b/player/lua/stats.lua index f8afc0806d..03fc0107f7 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -340,7 +340,7 @@ local function add_video(s) append_property(s, "estimated-vf-fps", {prefix="FPS:", suffix=" (estimated)"}) end - if append_property(s, "video-speed-correction", {prefix="DS:"}) then + if append_property(s, "video-speed-correction", {prefix="DS:"}, {["+0.00000%"]=true}) then append_property(s, "audio-speed-correction", {prefix="/", nl="", indent=" ", prefix_sep=" ", no_prefix_markup=true}) end -- cgit v1.2.3