mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 02:58:37 +02:00
Fix messaging hang by output
This commit is contained in:
@ -63,7 +63,7 @@ func Init(streams map[string]*stream.Stream, cfg *Options) {
|
||||
// Convert video to ANSI text
|
||||
func transcode(input, output *stream.Stream, cfg *Options) {
|
||||
// Start ffmpeg to transcode video to rawvideo
|
||||
videoInput := make(chan []byte)
|
||||
videoInput := make(chan []byte, 1024)
|
||||
input.Register(videoInput)
|
||||
ffmpeg, rawvideo, err := startFFmpeg(videoInput, cfg)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user