Skip to content

Commit

Permalink
src/gui/widgets/mpv/mpvwidget: set vo=libmpv explicitly
Browse files Browse the repository at this point in the history
mpv recently changed libmpv to no longer be at the top of the probe
order. This breaks Memento. This fixes the issue by making vo=libmpv
explicit.
  • Loading branch information
ripose-jp committed Feb 22, 2024
1 parent 0566191 commit 8ea1ed3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/widgets/mpv/mpvwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,12 @@ void MpvWidget::initializeGL()
);

/* Initialize the mpv context */
mpv_set_option_string(m_mpv, "terminal", "yes");
mpv_set_option_string(m_mpv, "keep-open", "yes");
mpv_set_option_string(m_mpv, "config", "yes");
mpv_set_option_string(m_mpv, "input-default-bindings", "yes");
mpv_set_option_string(m_mpv, "keep-open", "yes");
mpv_set_option_string(m_mpv, "screenshot-directory", "~~desktop/");
mpv_set_option_string(m_mpv, "terminal", "yes");
mpv_set_option_string(m_mpv, "vo", "libmpv");
mpv_set_option_string(m_mpv, "ytdl", "yes");

QByteArray configDir = DirectoryUtils::getConfigDir().toUtf8();
Expand Down

0 comments on commit 8ea1ed3

Please sign in to comment.