mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
remove leftover variable from capture manager.
This commit is contained in:
parent
550084e195
commit
4debddf27d
@ -13,9 +13,9 @@ import (
|
||||
)
|
||||
|
||||
type CaptureManagerCtx struct {
|
||||
logger zerolog.Logger
|
||||
desktop types.DesktopManager
|
||||
streaming bool
|
||||
logger zerolog.Logger
|
||||
desktop types.DesktopManager
|
||||
|
||||
broadcast *BroacastManagerCtx
|
||||
screencast *ScreencastManagerCtx
|
||||
audio *StreamManagerCtx
|
||||
@ -92,9 +92,9 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
|
||||
}
|
||||
|
||||
return &CaptureManagerCtx{
|
||||
logger: logger,
|
||||
desktop: desktop,
|
||||
streaming: false,
|
||||
logger: logger,
|
||||
desktop: desktop,
|
||||
|
||||
broadcast: broadcastNew(broadcastPipeline),
|
||||
screencast: screencastNew(config.ScreencastEnabled, screencastPipeline),
|
||||
audio: streamNew(config.AudioCodec, func() string {
|
||||
|
Loading…
Reference in New Issue
Block a user