aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-13 12:04:37 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-13 12:04:37 -0500
commitafabbfa22beba80d448dc435a2008ec45e805dd6 (patch)
treeeb5fbcffd9570681bdfac1a66218302f3f4cacf1 /Emby.Dlna
parent81d685b882de369cd42ed8f3dbf78fc6bc0f36df (diff)
add ios dts workaround
Diffstat (limited to 'Emby.Dlna')
-rw-r--r--Emby.Dlna/Didl/DidlBuilder.cs6
-rw-r--r--Emby.Dlna/PlayTo/PlayToController.cs3
2 files changed, 6 insertions, 3 deletions
diff --git a/Emby.Dlna/Didl/DidlBuilder.cs b/Emby.Dlna/Didl/DidlBuilder.cs
index 3dcdaf2efc..e968509b5e 100644
--- a/Emby.Dlna/Didl/DidlBuilder.cs
+++ b/Emby.Dlna/Didl/DidlBuilder.cs
@@ -207,7 +207,8 @@ namespace Emby.Dlna.Didl
streamInfo.TargetVideoStreamCount,
streamInfo.TargetAudioStreamCount,
streamInfo.TargetVideoCodecTag,
- streamInfo.IsTargetAVC);
+ streamInfo.IsTargetAVC,
+ streamInfo.AllAudioCodecs);
foreach (var contentFeature in contentFeatureList)
{
@@ -347,7 +348,8 @@ namespace Emby.Dlna.Didl
streamInfo.TargetVideoStreamCount,
streamInfo.TargetAudioStreamCount,
streamInfo.TargetVideoCodecTag,
- streamInfo.IsTargetAVC);
+ streamInfo.IsTargetAVC,
+ streamInfo.AllAudioCodecs);
var filename = url.Substring(0, url.IndexOf('?'));
diff --git a/Emby.Dlna/PlayTo/PlayToController.cs b/Emby.Dlna/PlayTo/PlayToController.cs
index 7dff8bda13..bfc29d0f5f 100644
--- a/Emby.Dlna/PlayTo/PlayToController.cs
+++ b/Emby.Dlna/PlayTo/PlayToController.cs
@@ -541,7 +541,8 @@ namespace Emby.Dlna.PlayTo
streamInfo.TargetVideoStreamCount,
streamInfo.TargetAudioStreamCount,
streamInfo.TargetVideoCodecTag,
- streamInfo.IsTargetAVC);
+ streamInfo.IsTargetAVC,
+ streamInfo.AllAudioCodecs);
return list.FirstOrDefault();
}