mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
console.lua: respect --video-osd=no
This commit is contained in:
committed by
Kacper Michajłow
parent
8592206c75
commit
030c283ef5
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user