1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 14:42:05 +02:00

Fix messaging hang by output

This commit is contained in:
Alexandre Iooss
2020-10-18 15:13:13 +02:00
parent 09a3422d06
commit 37d944621b
3 changed files with 19 additions and 23 deletions

View File

@ -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 {