|
|
@ -83,8 +83,7 @@ namespace MediaBrowser.Controller.Channels
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var list = new List<MediaStream>();
|
|
|
|
var list = new List<MediaStream>();
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(info.VideoCodec) &&
|
|
|
|
if (!string.IsNullOrWhiteSpace(info.VideoCodec))
|
|
|
|
!string.IsNullOrWhiteSpace(info.AudioCodec))
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
list.Add(new MediaStream
|
|
|
|
list.Add(new MediaStream
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -99,7 +98,10 @@ namespace MediaBrowser.Controller.Channels
|
|
|
|
BitRate = info.VideoBitrate,
|
|
|
|
BitRate = info.VideoBitrate,
|
|
|
|
AverageFrameRate = info.Framerate
|
|
|
|
AverageFrameRate = info.Framerate
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(info.AudioCodec))
|
|
|
|
|
|
|
|
{
|
|
|
|
list.Add(new MediaStream
|
|
|
|
list.Add(new MediaStream
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Type = MediaStreamType.Audio,
|
|
|
|
Type = MediaStreamType.Audio,
|
|
|
|