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 (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
sync "sync"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@ -74,6 +75,7 @@ var _ = Describe("ffmpeg", func() {
|
|||||||
var ff FFmpeg
|
var ff FFmpeg
|
||||||
|
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
|
ffOnce = sync.Once{}
|
||||||
ff = New()
|
ff = New()
|
||||||
// Skip if FFmpeg is not available
|
// Skip if FFmpeg is not available
|
||||||
if !ff.IsAvailable() {
|
if !ff.IsAvailable() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user