update live stream bitrates

This commit is contained in:
Luke Pulverenti
2017-01-26 01:26:58 -05:00
parent 8f780269cb
commit 045fdaf387
8 changed files with 37 additions and 36 deletions

View File

@@ -72,9 +72,14 @@ namespace MediaBrowser.Model.Dto
SupportsProbing = true;
}
public void InferTotalBitrate()
public void InferTotalBitrate(bool force = false)
{
if (Bitrate.HasValue || MediaStreams == null)
if (MediaStreams == null)
{
return;
}
if (!force && Bitrate.HasValue)
{
return;
}