mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Fix tests
This commit is contained in:
parent
655ea319b9
commit
b3a76feee5
@ -14,7 +14,6 @@ func TestFFmpegNvencCommand(t *testing.T) {
|
|||||||
transcoder := new(Transcoder)
|
transcoder := new(Transcoder)
|
||||||
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
||||||
transcoder.SetInput("fakecontent.flv")
|
transcoder.SetInput("fakecontent.flv")
|
||||||
transcoder.SetOutputPath("fakeOutput")
|
|
||||||
transcoder.SetStreamID("jdFsdfzGg")
|
transcoder.SetStreamID("jdFsdfzGg")
|
||||||
transcoder.SetInternalHTTPPort("8123")
|
transcoder.SetInternalHTTPPort("8123")
|
||||||
transcoder.SetCodec(codec.Name())
|
transcoder.SetCodec(codec.Name())
|
||||||
|
|||||||
@ -14,7 +14,6 @@ func TestFFmpegOmxCommand(t *testing.T) {
|
|||||||
transcoder := new(Transcoder)
|
transcoder := new(Transcoder)
|
||||||
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
||||||
transcoder.SetInput("fakecontent.flv")
|
transcoder.SetInput("fakecontent.flv")
|
||||||
transcoder.SetOutputPath("fakeOutput")
|
|
||||||
transcoder.SetStreamID("jdFsdfzGg")
|
transcoder.SetStreamID("jdFsdfzGg")
|
||||||
transcoder.SetInternalHTTPPort("8123")
|
transcoder.SetInternalHTTPPort("8123")
|
||||||
transcoder.SetCodec(codec.Name())
|
transcoder.SetCodec(codec.Name())
|
||||||
|
|||||||
@ -14,7 +14,6 @@ func TestFFmpegVaapiCommand(t *testing.T) {
|
|||||||
transcoder := new(Transcoder)
|
transcoder := new(Transcoder)
|
||||||
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
||||||
transcoder.SetInput("fakecontent.flv")
|
transcoder.SetInput("fakecontent.flv")
|
||||||
transcoder.SetOutputPath("fakeOutput")
|
|
||||||
transcoder.SetStreamID("jdFsdfzGg")
|
transcoder.SetStreamID("jdFsdfzGg")
|
||||||
transcoder.SetInternalHTTPPort("8123")
|
transcoder.SetInternalHTTPPort("8123")
|
||||||
transcoder.SetCodec(codec.Name())
|
transcoder.SetCodec(codec.Name())
|
||||||
|
|||||||
@ -14,7 +14,6 @@ func TestFFmpegVideoToolboxCommand(t *testing.T) {
|
|||||||
transcoder := new(Transcoder)
|
transcoder := new(Transcoder)
|
||||||
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
||||||
transcoder.SetInput("fakecontent.flv")
|
transcoder.SetInput("fakecontent.flv")
|
||||||
transcoder.SetOutputPath("fakeOutput")
|
|
||||||
transcoder.SetStreamID("jdFsdfzGg")
|
transcoder.SetStreamID("jdFsdfzGg")
|
||||||
transcoder.SetInternalHTTPPort("8123")
|
transcoder.SetInternalHTTPPort("8123")
|
||||||
transcoder.SetCodec(codec.Name())
|
transcoder.SetCodec(codec.Name())
|
||||||
|
|||||||
@ -14,7 +14,6 @@ func TestFFmpegx264Command(t *testing.T) {
|
|||||||
transcoder := new(Transcoder)
|
transcoder := new(Transcoder)
|
||||||
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
transcoder.ffmpegPath = filepath.Join("fake", "path", "ffmpeg")
|
||||||
transcoder.SetInput("fakecontent.flv")
|
transcoder.SetInput("fakecontent.flv")
|
||||||
transcoder.SetOutputPath("fakeOutput")
|
|
||||||
transcoder.SetStreamID("jdFsdfzGg")
|
transcoder.SetStreamID("jdFsdfzGg")
|
||||||
transcoder.SetInternalHTTPPort("8123")
|
transcoder.SetInternalHTTPPort("8123")
|
||||||
transcoder.SetCodec(codec.Name())
|
transcoder.SetCodec(codec.Name())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user