Use detected bitrate when logging

This commit is contained in:
Serge Tkatchouk
2020-03-02 19:59:28 +08:00
parent ec341a2888
commit 16b9b31f6d

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
} }