diff options
Diffstat (limited to 'MediaBrowser.Controller/Entities/Video.cs')
| -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 78f4e3fc2..509859512 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> |
