fix ci
This commit is contained in:
parent
57e5b59b93
commit
6987cb8357
|
@ -823,7 +823,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||||
var bytes = GetNumberOfBytesFromTags(streamInfo);
|
var bytes = GetNumberOfBytesFromTags(streamInfo);
|
||||||
if (durationInSeconds != null && bytes != null)
|
if (durationInSeconds != null && bytes != null)
|
||||||
{
|
{
|
||||||
var bps = Convert.ToInt32(bytes * 8 / durationInSeconds);
|
var bps = Convert.ToInt32(bytes * 8 / durationInSeconds, CultureInfo.InvariantCulture);
|
||||||
if (bps > 0)
|
if (bps > 0)
|
||||||
{
|
{
|
||||||
stream.BitRate = bps;
|
stream.BitRate = bps;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user