mirror of
https://github.com/u2takey/ffmpeg-go.git
synced 2025-11-01 19:32:55 +08:00
and stream example
This commit is contained in:
4
probe.go
4
probe.go
@@ -15,8 +15,8 @@ import (
|
||||
// The stderr output can be retrieved by accessing the
|
||||
// ``stderr`` property of the exception.
|
||||
|
||||
func Probe(fileName string, kwargs KwArgs) (string, error) {
|
||||
return ProbeWithTimeout(fileName, 0, kwargs)
|
||||
func Probe(fileName string, kwargs ...KwArgs) (string, error) {
|
||||
return ProbeWithTimeout(fileName, 0, MergeKwArgs(kwargs))
|
||||
}
|
||||
|
||||
func ProbeWithTimeout(fileName string, timeOut time.Duration, kwargs KwArgs) (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user