GhostNaN / mpvpaper

A video wallpaper program for wlroots based wayland compositors.
GNU General Public License v3.0
713 stars 21 forks source link

Fix --vo=libmpv not being set when empty #67

Closed leaty closed 3 months ago

leaty commented 3 months ago

Fixes #64 and #68.

It appears vo in mpv 0.38.0 no longer defaults to libmpv in this context, this forces libmpv to be set when empty.

GhostNaN commented 3 months ago

Good work! I should of looked more closely at the new API changes to mpv 0.38. https://github.com/mpv-player/mpv/blob/master/DOCS/client-api-changes.rst#api-changes "remove libmpv as the default VO and move it to the bottom of the auto-probing order"

So yes, forcing the VO to "libmpv" even when it's empty fixes the issue without warning the user.

I might have to update the release now with this breaking bug.