mirror of
https://github.com/u2takey/ffmpeg-go.git
synced 2025-09-27 04:15:53 +08:00
timeOut passthrough
This commit is contained in:
2
probe.go
2
probe.go
@@ -19,7 +19,7 @@ func ProbeWithTimeout(fileName string, timeOut time.Duration, kwargs KwArgs) (st
|
||||
"of": "json",
|
||||
}
|
||||
|
||||
return ProbeWithTimeoutExec(fileName, 0, MergeKwArgs([]KwArgs{args, kwargs}))
|
||||
return ProbeWithTimeoutExec(fileName, timeOut, MergeKwArgs([]KwArgs{args, kwargs}))
|
||||
}
|
||||
|
||||
func ProbeWithTimeoutExec(fileName string, timeOut time.Duration, kwargs KwArgs) (string, error) {
|
||||
|
Reference in New Issue
Block a user