소스 검색

update xbox one dlna profile

Luke Pulverenti 9 년 전
부모
커밋
8f9b605e13
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      MediaBrowser.Dlna/Profiles/XboxOneProfile.cs
  2. 1 1
      MediaBrowser.Dlna/Profiles/Xml/Xbox One.xml

+ 2 - 2
MediaBrowser.Dlna/Profiles/XboxOneProfile.cs

@@ -60,8 +60,8 @@ namespace MediaBrowser.Dlna.Profiles
                 new DirectPlayProfile
                 {
                     Container = "ts",
-                    VideoCodec = "h264",
-                    AudioCodec = "ac3",
+                    VideoCodec = "h264,mpeg2video",
+                    AudioCodec = "ac3,aac,mp3",
                     Type = DlnaProfileType.Video
                 },
                 new DirectPlayProfile

+ 1 - 1
MediaBrowser.Dlna/Profiles/Xml/Xbox One.xml

@@ -37,7 +37,7 @@
   <IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>
   <XmlRootAttributes />
   <DirectPlayProfiles>
-    <DirectPlayProfile container="ts" audioCodec="ac3" videoCodec="h264" type="Video" />
+    <DirectPlayProfile container="ts" audioCodec="ac3,aac,mp3" videoCodec="h264,mpeg2video" type="Video" />
     <DirectPlayProfile container="avi" audioCodec="ac3,mp3" videoCodec="mpeg4" type="Video" />
     <DirectPlayProfile container="avi" audioCodec="aac" videoCodec="h264" type="Video" />
     <DirectPlayProfile container="mp4,mov,mkv" audioCodec="aac,ac3" videoCodec="h264,mpeg4,mpeg2video" type="Video" />