safer hls kill

This commit is contained in:
Luke Pulverenti
2013-10-03 10:14:40 -04:00
parent eb72c2db51
commit 16fd474ad3
17 changed files with 57 additions and 30 deletions

View File

@@ -136,10 +136,7 @@ namespace MediaBrowser.Controller.Entities
get { return Video3DFormat.HasValue; }
}
public bool IsHD
{
get { return MediaStreams != null && MediaStreams.Any(i => i.Type == MediaStreamType.Video && i.Width.HasValue && i.Width.Value >= 1280); }
}
public bool IsHD { get; set; }
/// <summary>
/// Gets the type of the media.