From 7f825261b9d844ac29015dfb6d76620058a657d3 Mon Sep 17 00:00:00 2001 From: Honney OC Date: Sun, 13 Sep 2026 23:03:39 +0000 Subject: [PATCH] fix: black video --- Makefile | 2 +- verify_sync.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 967df04..87a3a01 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ sync: @if [ -x $(PY) ]; then $(PY) apply_sync.py --config $(CONFIG) --lag $(LAG); else python3 apply_sync.py --config $(CONFIG) --lag $(LAG); fi verify: - @if [ -x $(PY) ]; then QT_STYLE_OVERRIDE=Fusion $(PY) verify_sync.py --config $(CONFIG) --lag $(LAG); else QT_STYLE_OVERRIDE=Fusion python3 verify_sync.py --config $(CONFIG) --lag $(LAG); fi + @if [ -x $(PY) ]; then QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion $(PY) verify_sync.py --config $(CONFIG) --lag $(LAG); else QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion python3 verify_sync.py --config $(CONFIG) --lag $(LAG); 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 d0758e6..643586b 100644 --- a/verify_sync.py +++ b/verify_sync.py @@ -22,9 +22,11 @@ Usage: """ from __future__ import annotations -import os, sys, math, argparse, subprocess, json, shutil, time, threading, tempfile +import os, sys, math, argparse, subprocess, json, shutil, time, threading, tempfile, warnings import numpy as np +warnings.filterwarnings("ignore", category=RuntimeWarning, module="pyqtgraph") + try: import tomllib except ModuleNotFoundError: