mpv: Make mpv automatic quality setting explicit

This commit is contained in:
Marty Oehme 2023-03-22 11:52:14 +01:00
parent 337b250aba
commit f6a9006c07
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -20,6 +20,7 @@ local function adjust()
mp.set_property("profile", lqprofile) mp.set_property("profile", lqprofile)
else else
mp.msg.info("Not running on battery, setting high-quality options.") mp.msg.info("Not running on battery, setting high-quality options.")
mp.set_property("profile", hqprofile)
end end
end end
mp.add_hook("on_load", 1, adjust) mp.add_hook("on_load", 1, adjust)