mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-06 20:12:46 +08:00
fix: trancode dispose will block
This commit is contained in:
@@ -166,7 +166,7 @@ func (t *Transformer) Start() (err error) {
|
||||
return t.ffmpeg.Start()
|
||||
}
|
||||
|
||||
func (t *Transformer) Run() error {
|
||||
func (t *Transformer) Go() error {
|
||||
t.SetDescription("pid", t.ffmpeg.Process.Pid)
|
||||
if t.From.Mode == "pipe" {
|
||||
rBuf := make(chan []byte, 100)
|
||||
|
Reference in New Issue
Block a user