From 375542194556193c968856d9a09584b4d2f5f066 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 14 Mar 2023 18:30:48 +0100 Subject: [PATCH] FFmpeg: Update AVC convert command test #3284 Signed-off-by: Michael Mayer --- internal/photoprism/convert_video_avc_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/photoprism/convert_video_avc_test.go b/internal/photoprism/convert_video_avc_test.go index 365717553..2e080a001 100644 --- a/internal/photoprism/convert_video_avc_test.go +++ b/internal/photoprism/convert_video_avc_test.go @@ -30,7 +30,7 @@ func TestConvert_ToAvc(t *testing.T) { t.Fatal(err) } - avcFile, err := convert.ToAvc(mf, "", false, false) + avcFile, err := convert.ToAvc(mf, ffmpeg.SoftwareEncoder, false, false) if err != nil { t.Fatal(err) @@ -149,7 +149,7 @@ func TestConvert_AvcConvertCommand(t *testing.T) { t.Fatal(err) } - r, _, err := convert.AvcConvertCommand(mf, "avc1", "") + r, _, err := convert.AvcConvertCommand(mf, "avc1", ffmpeg.SoftwareEncoder) if err != nil { t.Fatal(err) @@ -166,7 +166,7 @@ func TestConvert_AvcConvertCommand(t *testing.T) { t.Fatal(err) } - r, useMutex, err := convert.AvcConvertCommand(mf, "avc1", "") + r, useMutex, err := convert.AvcConvertCommand(mf, "avc1", ffmpeg.SoftwareEncoder) assert.False(t, useMutex) assert.Error(t, err)