From 4b65c6834e09f741782d25c567891825be9afa5d Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sat, 13 Dec 2025 00:17:41 +0100 Subject: [PATCH] nixosTests.lomiri-mediaplayer-app: Fix OCR For some reason, it can't find the video text anymore. Increase its size, and invert its colours to match so the background matched the auto-added black borders of the player. --- nixos/tests/lomiri-mediaplayer-app.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/lomiri-mediaplayer-app.nix b/nixos/tests/lomiri-mediaplayer-app.nix index 0a6cbac41a11..2b47fe39a6cb 100644 --- a/nixos/tests/lomiri-mediaplayer-app.nix +++ b/nixos/tests/lomiri-mediaplayer-app.nix @@ -25,7 +25,7 @@ in ]; } '' - magick -size 600x600 canvas:white -pointsize 20 -fill black -annotate +100+100 '${ocrContent}' output.png + magick -size 600x600 canvas:black -pointsize 32 -fill white -annotate +100+100 '${ocrContent}' output.png ffmpeg -re -loop 1 -i output.png -c:v libvpx -b:v 200K -t 120 $out -loglevel fatal ''; systemPackages = with pkgs.lomiri; [