mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
test: reset FFmpeg initialization
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
f085446cc6
commit
187eac268f
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user