mirror of
https://github.com/navidrome/navidrome.git
synced 2025-08-10 00:52:20 +00:00
test: reset FFmpeg initialization
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user