|
|
@ -1,8 +1,6 @@
|
|
|
|
package main
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
_ "io"
|
|
|
|
|
|
|
|
_ "log"
|
|
|
|
|
|
|
|
"os"
|
|
|
|
"os"
|
|
|
|
"os/exec"
|
|
|
|
"os/exec"
|
|
|
|
"path/filepath"
|
|
|
|
"path/filepath"
|
|
|
@ -342,7 +340,8 @@ func TestCreateDirectoryTree(t *testing.T) {
|
|
|
|
assert.EqualValues(t, 2, changes)
|
|
|
|
assert.EqualValues(t, 2, changes)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func TestTransformFileAndVideo(t *testing.T) {
|
|
|
|
// Disabled for now as Github CI's ffmpeg doesn't yet support force_divisible_by=2
|
|
|
|
|
|
|
|
func testTransformFileAndVideo(t *testing.T) {
|
|
|
|
const videoName = "video.mp4"
|
|
|
|
const videoName = "video.mp4"
|
|
|
|
config := initializeConfig()
|
|
|
|
config := initializeConfig()
|
|
|
|
|
|
|
|
|
|
|
|