1
0
mirror of https://github.com/bluenviron/mediamtx synced 2025-03-18 08:33:57 +00:00

HLS converter: do not print an error message if there isn't any error

This commit is contained in:
aler9 2021-06-19 14:25:18 +02:00
parent f7d3023921
commit c06b9e450c

View File

@ -226,7 +226,9 @@ func (c *Converter) run() {
select {
case err := <-runErr:
innerCtxCancel()
c.log(logger.Info, "ERR: %s", err)
if err != nil {
c.log(logger.Info, "ERR: %s", err)
}
case <-c.ctx.Done():
innerCtxCancel()