mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-31 01:47:24 +02:00
do not start pipeline when error.
This commit is contained in:
parent
58ea3665b0
commit
2b72f43c9e
5 changed files with 29 additions and 8 deletions
|
@ -147,9 +147,11 @@ func (manager *ScreencastManagerCtx) createPipeline() error {
|
|||
return err
|
||||
}
|
||||
|
||||
manager.pipeline.Start()
|
||||
manager.logger.Info().Msgf("starting pipeline")
|
||||
manager.logger.Info().
|
||||
Str("src", manager.pipeline.Src).
|
||||
Msgf("starting pipeline")
|
||||
|
||||
manager.pipeline.Start()
|
||||
manager.sample = manager.pipeline.Sample
|
||||
manager.emitUpdate <-true
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue