0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

console.lua: respect --video-osd=no

This commit is contained in:
Guido Cella 2024-09-15 09:20:56 +02:00 committed by Kacper Michajłow
parent 8592206c75
commit 030c283ef5

View File

@ -510,7 +510,7 @@ local function update()
-- Unlike vo-configured, current-vo doesn't become falsy while switching VO, -- Unlike vo-configured, current-vo doesn't become falsy while switching VO,
-- which would print the log to the OSD. -- 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() print_to_terminal()
return return
end end