Use detected bitrate when logging

This commit is contained in:
Serge Tkatchouk
2020-03-12 13:27:53 +00:00
committed by sentriz
parent c9eb142c61
commit ed610d36f6
+1 -1
View File
@@ -123,7 +123,7 @@ func (c *Controller) ServeStream(w http.ResponseWriter, r *http.Request) *spec.R
log.Printf("error encoding %q: %v\n", absPath, err) log.Printf("error encoding %q: %v\n", absPath, err)
} }
log.Printf("track `%s` encoded to [%s/%s] successfully\n", log.Printf("track `%s` encoded to [%s/%s] successfully\n",
track.Filename, profile.Format, profile.Bitrate) track.Filename, profile.Format, bitrate)
return nil return nil
} }