mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-22 02:39:23 +08:00
fix: transcode global option
This commit is contained in:
@@ -88,7 +88,8 @@ func (t *Transformer) Start() (err error) {
|
|||||||
t.From.Args = v
|
t.From.Args = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
args := append([]string{"-f", "flv"}, strings.Fields(t.From.Args)...)
|
args := strings.Fields(t.From.Args)
|
||||||
|
args = append(args, []string{"-f", "flv"}...)
|
||||||
if t.From.Codec != "" {
|
if t.From.Codec != "" {
|
||||||
args = append(args, "-c:v", t.From.Codec)
|
args = append(args, "-c:v", t.From.Codec)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user