This commit is contained in:
wanglei.w
2020-11-12 13:56:14 +08:00
parent c66b90b8e0
commit 81723fa525
2 changed files with 4 additions and 4 deletions

View File

@@ -22,6 +22,6 @@ func TestExampleReadFrameAsJpeg(t *testing.T) {
} }
} }
func TestExampleShowProgess(t *testing.T) { func TestExampleShowProgress(t *testing.T) {
ExampleShowProgess("./sample_data/in1.mp4", "./sample_data/out2.mp4") ExampleShowProgress("./sample_data/in1.mp4", "./sample_data/out2.mp4")
} }

View File

@@ -16,9 +16,9 @@ import (
ffmpeg "github.com/u2takey/ffmpeg-go" ffmpeg "github.com/u2takey/ffmpeg-go"
) )
// ExampleShowProgess is an example of using the ffmpeg `-progress` option with a // ExampleShowProgress is an example of using the ffmpeg `-progress` option with a
// unix-domain socket to report progress // unix-domain socket to report progress
func ExampleShowProgess(inFileName, outFileName string) { func ExampleShowProgress(inFileName, outFileName string) {
a, err := ffmpeg.Probe(inFileName) a, err := ffmpeg.Probe(inFileName)
if err != nil { if err != nil {
panic(err) panic(err)