mpv: Make mpv automatic quality setting explicit
This commit is contained in:
parent
337b250aba
commit
f6a9006c07
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue