diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-29 20:51:04 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-29 20:51:04 -0400 |
| commit | 02ebeb0e5bc85a62a395e5605b66b9b558c4e2c8 (patch) | |
| tree | 78a159979e038938c019cd3c60473f6e9e0b217d /MediaBrowser.Controller/Entities | |
| parent | cdfb009df876e4f5bcc99b5017ef7f4154131a4c (diff) | |
added logging during app update, and IsHD
Diffstat (limited to 'MediaBrowser.Controller/Entities')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Video.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs index 0d1e22128..caf332a5b 100644 --- a/MediaBrowser.Controller/Entities/Video.cs +++ b/MediaBrowser.Controller/Entities/Video.cs @@ -136,7 +136,7 @@ namespace MediaBrowser.Controller.Entities get { return Video3DFormat.HasValue; } } - public bool IsHd + public bool IsHD { get { return MediaStreams != null && MediaStreams.Any(i => i.Type == MediaStreamType.Video && i.Width.HasValue && i.Width.Value >= 1280); } } |
