This commit is contained in:
nyanmisaka 2020-11-11 17:25:14 +08:00
parent 57e5b59b93
commit 6987cb8357
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ namespace MediaBrowser.MediaEncoding.Probing
var bytes = GetNumberOfBytesFromTags(streamInfo);
if (durationInSeconds != null && bytes != null)
{
var bps = Convert.ToInt32(bytes * 8 / durationInSeconds);
var bps = Convert.ToInt32(bytes * 8 / durationInSeconds, CultureInfo.InvariantCulture);
if (bps > 0)
{
stream.BitRate = bps;