|
|
|
@ -127,7 +127,6 @@ namespace MediaBrowser.Server.Implementations.BdInfo
|
|
|
|
|
{
|
|
|
|
|
var stream = new MediaStream
|
|
|
|
|
{
|
|
|
|
|
BitRate = Convert.ToInt32(audioStream.BitRate),
|
|
|
|
|
Codec = audioStream.CodecShortName,
|
|
|
|
|
Language = audioStream.LanguageCode,
|
|
|
|
|
Channels = audioStream.ChannelCount,
|
|
|
|
@ -136,6 +135,13 @@ namespace MediaBrowser.Server.Implementations.BdInfo
|
|
|
|
|
Index = streams.Count
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var bitrate = Convert.ToInt32(audioStream.BitRate);
|
|
|
|
|
|
|
|
|
|
if (bitrate > 0)
|
|
|
|
|
{
|
|
|
|
|
stream.BitRate = bitrate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (audioStream.LFE > 0)
|
|
|
|
|
{
|
|
|
|
|
stream.Channels = audioStream.ChannelCount + 1;
|
|
|
|
|