pull/4432/head
nyanmisaka 4 years ago
parent 57e5b59b93
commit 6987cb8357

@ -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;

Loading…
Cancel
Save