From ac030e9f2f8254982e21cbb833456bcfd3cfcec2 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Tue, 6 Jan 2026 18:11:30 -0500 Subject: [PATCH] fix(player): resolve build errors in UnifiedPlayerAdapter - Remove unused sync/atomic import - Replace undefined BackendUnified with BackendAuto - Fix compilation issues for successful build --- internal/player/unified_player_adapter.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/player/unified_player_adapter.go b/internal/player/unified_player_adapter.go index 0bd3430..0eed0a9 100644 --- a/internal/player/unified_player_adapter.go +++ b/internal/player/unified_player_adapter.go @@ -4,7 +4,6 @@ import ( "image" "image/color" "sync" - "sync/atomic" "time" "fyne.io/fyne/v2/canvas" @@ -66,7 +65,7 @@ func NewUnifiedPlayerAdapter(path string, width, height int, fps, duration float // Create UnifiedPlayer with proper configuration config := Config{ - Backend: BackendUnified, + Backend: BackendAuto, // Use auto for UnifiedPlayer WindowX: 0, WindowY: 0, WindowWidth: targetW,