浏览代码

fix: issue #211

Almamu 2 年之前
父节点
当前提交
a14ded12d7
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      src/WallpaperEngine/Render/Wallpapers/CVideo.cpp

+ 1 - 0
src/WallpaperEngine/Render/Wallpapers/CVideo.cpp

@@ -30,6 +30,7 @@ CVideo::CVideo (Core::CVideo* video, CRenderContext& context, CAudioContext& aud
     mpv_set_option_string (this->m_mpv, "cursor-autohide", "no");
     mpv_set_option_string (this->m_mpv, "config", "no");
     mpv_set_option_string (this->m_mpv, "fbo-format", "rgba8");
+    mpv_set_option_string (this->m_mpv, "vo", "libmpv");
 
     if (mpv_initialize (this->m_mpv) < 0)
         sLog.exception ("Could not initialize mpv context");