diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-02 14:25:03 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-02 14:25:03 -0400 |
| commit | f5988e7756d4b0b96ac0f2675293973f412114d8 (patch) | |
| tree | e27b25dec7e6ba248caec51780799626e1e0c1f3 /MediaBrowser.Controller | |
| parent | 7532ecaf2de3eaf01a08a8d4de13e955bf8a05bb (diff) | |
3.0.4931.24071
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Video.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs index 78f4e3fc24..5098595122 100644 --- a/MediaBrowser.Controller/Entities/Video.cs +++ b/MediaBrowser.Controller/Entities/Video.cs @@ -27,6 +27,19 @@ namespace MediaBrowser.Controller.Entities AdditionalPartIds = new List<Guid>(); } + public VideoFormat VideoFormat + { + get + { + if (!Video3DFormat.HasValue) + { + return VideoFormat.Standard; + } + + return VideoFormat.Digital3D; + } + } + /// <summary> /// Gets or sets the type of the video. /// </summary> |
