mirror of
https://github.com/u2takey/ffmpeg-go.git
synced 2025-10-06 00:16:55 +08:00
fix typo
This commit is contained in:
@@ -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")
|
||||||
}
|
}
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user