1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 20:22:16 +02:00

Define streams in main.go

This commit is contained in:
Alexandre Iooss
2020-10-17 18:22:06 +02:00
parent 88dfc22d81
commit 1469bd8759
2 changed files with 10 additions and 9 deletions

View File

@ -59,7 +59,8 @@ func autoStartConversion(streams map[string]*stream.Stream, textStreams map[stri
}
// Start conversion
log.Print("Starting text conversion of %s", name)
log.Printf("Starting text conversion of %s", name)
// FIXME that is not how to use a pointer
textStream = &[]byte{}
textStreams[name] = textStream
go streamToTextStream(stream, textStream, cfg)