From 030c283ef5db3816adacd7e67d0fcdf702964f4d Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 15 Sep 2024 09:20:56 +0200 Subject: [PATCH] console.lua: respect --video-osd=no --- player/lua/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/console.lua b/player/lua/console.lua index 0d494fe23a..4ebedc560c 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -510,7 +510,7 @@ local function update() -- Unlike vo-configured, current-vo doesn't become falsy while switching VO, -- which would print the log to the OSD. - if not mp.get_property('current-vo') then + if not mp.get_property('current-vo') or not mp.get_property_native('video-osd') then print_to_terminal() return end