test: reset FFmpeg initialization

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-07-31 12:10:27 -04:00
parent f085446cc6
commit 187eac268f

View File

@ -3,6 +3,7 @@ package ffmpeg
import (
"context"
"os/exec"
sync "sync"
"testing"
"time"
@ -74,6 +75,7 @@ var _ = Describe("ffmpeg", func() {
var ff FFmpeg
BeforeEach(func() {
ffOnce = sync.Once{}
ff = New()
// Skip if FFmpeg is not available
if !ff.IsAvailable() {