aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/StreamBuilder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Dlna/StreamBuilder.cs')
-rw-r--r--MediaBrowser.Model/Dlna/StreamBuilder.cs19
1 files changed, 18 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Dlna/StreamBuilder.cs b/MediaBrowser.Model/Dlna/StreamBuilder.cs
index 8d146bb79..8debb4edb 100644
--- a/MediaBrowser.Model/Dlna/StreamBuilder.cs
+++ b/MediaBrowser.Model/Dlna/StreamBuilder.cs
@@ -628,11 +628,28 @@ namespace MediaBrowser.Model.Dlna
case ProfileConditionValue.Has64BitOffsets:
case ProfileConditionValue.PacketLength:
case ProfileConditionValue.VideoTimestamp:
- case ProfileConditionValue.VideoBitDepth:
{
// Not supported yet
break;
}
+ case ProfileConditionValue.RefFrames:
+ {
+ int num;
+ if (IntHelper.TryParseCultureInvariant(value, out num))
+ {
+ item.MaxRefFrames = num;
+ }
+ break;
+ }
+ case ProfileConditionValue.VideoBitDepth:
+ {
+ int num;
+ if (IntHelper.TryParseCultureInvariant(value, out num))
+ {
+ item.MaxVideoBitDepth = num;
+ }
+ break;
+ }
case ProfileConditionValue.VideoProfile:
{
item.VideoProfile = value;