mirror of https://github.com/mpv-player/mpv
console.lua: respect --video-osd=no
This commit is contained in:
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
|
||||||
|
|
Loading…
Reference in New Issue