From 4a5e05cfa298dcc13a24e98292bbc5c82e5cac6d Mon Sep 17 00:00:00 2001 From: Honney OC Date: Mon, 14 Sep 2026 00:23:56 +0000 Subject: [PATCH] fix: mpv in verify_sync --- Makefile | 2 +- verify_sync.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83ec94d..c800524 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ sync: @if [ -x $(PY) ]; then PYTHONPATH=. $(PY) apply_sync.py --config $(CONFIG) --lag $(LAG); else PYTHONPATH=. python3 apply_sync.py --config $(CONFIG) --lag $(LAG); fi verify: - @if [ -x $(PY) ]; then LC_NUMERIC=C PYTHONPATH=. QT_STYLE_OVERRIDE=Fusion $(PY) verify_sync.py --config $(CONFIG) --lag $(LAG); else LC_NUMERIC=C PYTHONPATH=. QT_STYLE_OVERRIDE=Fusion python3 verify_sync.py --config $(CONFIG) --lag $(LAG); fi + @if [ -x $(PY) ]; then LC_NUMERIC=C PYTHONPATH=. QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion $(PY) verify_sync.py --config $(CONFIG) --lag $(LAG) --mode short; else LC_NUMERIC=C PYTHONPATH=. QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion python3 verify_sync.py --config $(CONFIG) --lag $(LAG) --mode short; fi ast: @AUDIO_A=$$(python3 -c "import tomllib; c=tomllib.load(open('config.toml','rb')); print(c['extract'].get('file_a',''))" 2>/dev/null); \ diff --git a/verify_sync.py b/verify_sync.py index 51ff242..1380602 100644 --- a/verify_sync.py +++ b/verify_sync.py @@ -349,7 +349,6 @@ class VerifyWindow(QtWidgets.QMainWindow): """Set up mpv player embedded in the video container widget.""" self.mpv_player = mpv.MPV( wid=str(int(self.video_container.winId())), - vo="x11", input_default_bindings=False, input_vo_keyboard=False, cursor_autohide=False,