Browse Source

Fix tests

pull/3395/head
Gabe Kangas 2 years ago
parent
commit
b3a76feee5
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 1
      core/transcoder/transcoder_nvenc_test.go
  2. 1
      core/transcoder/transcoder_omx_test.go
  3. 1
      core/transcoder/transcoder_vaapi_test.go
  4. 1
      core/transcoder/transcoder_videotoolbox_test.go
  5. 1
      core/transcoder/transcoder_x264_test.go

1
core/transcoder/transcoder_nvenc_test.go

@ -14,7 +14,6 @@ func TestFFmpegNvencCommand(t *testing.T) { @@ -14,7 +14,6 @@ func TestFFmpegNvencCommand(t *testing.T) {
transcoder := new(Transcoder)
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
transcoder.SetInput("fakecontent.flv")
transcoder.SetOutputPath("fakeOutput")
transcoder.SetStreamID("jdFsdfzGg")
transcoder.SetInternalHTTPPort("8123")
transcoder.SetCodec(codec.Name())

1
core/transcoder/transcoder_omx_test.go

@ -14,7 +14,6 @@ func TestFFmpegOmxCommand(t *testing.T) { @@ -14,7 +14,6 @@ func TestFFmpegOmxCommand(t *testing.T) {
transcoder := new(Transcoder)
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
transcoder.SetInput("fakecontent.flv")
transcoder.SetOutputPath("fakeOutput")
transcoder.SetStreamID("jdFsdfzGg")
transcoder.SetInternalHTTPPort("8123")
transcoder.SetCodec(codec.Name())

1
core/transcoder/transcoder_vaapi_test.go

@ -14,7 +14,6 @@ func TestFFmpegVaapiCommand(t *testing.T) { @@ -14,7 +14,6 @@ func TestFFmpegVaapiCommand(t *testing.T) {
transcoder := new(Transcoder)
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
transcoder.SetInput("fakecontent.flv")
transcoder.SetOutputPath("fakeOutput")
transcoder.SetStreamID("jdFsdfzGg")
transcoder.SetInternalHTTPPort("8123")
transcoder.SetCodec(codec.Name())

1
core/transcoder/transcoder_videotoolbox_test.go

@ -14,7 +14,6 @@ func TestFFmpegVideoToolboxCommand(t *testing.T) { @@ -14,7 +14,6 @@ func TestFFmpegVideoToolboxCommand(t *testing.T) {
transcoder := new(Transcoder)
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
transcoder.SetInput("fakecontent.flv")
transcoder.SetOutputPath("fakeOutput")
transcoder.SetStreamID("jdFsdfzGg")
transcoder.SetInternalHTTPPort("8123")
transcoder.SetCodec(codec.Name())

1
core/transcoder/transcoder_x264_test.go

@ -14,7 +14,6 @@ func TestFFmpegx264Command(t *testing.T) { @@ -14,7 +14,6 @@ func TestFFmpegx264Command(t *testing.T) {
transcoder := new(Transcoder)
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
transcoder.SetInput("fakecontent.flv")
transcoder.SetOutputPath("fakeOutput")
transcoder.SetStreamID("jdFsdfzGg")
transcoder.SetInternalHTTPPort("8123")
transcoder.SetCodec(codec.Name())

Loading…
Cancel
Save