From 8a86f43a9e6a6ce7fe01c191183c44d36a3359f8 Mon Sep 17 00:00:00 2001 From: aiden Date: Sun, 23 May 2021 23:58:24 -0400 Subject: [PATCH] Update DeviceProfileBuilder.swift --- JellyfinPlayer/DeviceProfileBuilder.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JellyfinPlayer/DeviceProfileBuilder.swift b/JellyfinPlayer/DeviceProfileBuilder.swift index d67b1489..f8265b19 100644 --- a/JellyfinPlayer/DeviceProfileBuilder.swift +++ b/JellyfinPlayer/DeviceProfileBuilder.swift @@ -168,7 +168,8 @@ class DeviceProfileBuilder { SubtitleProfiles.append(_AVSubtitleProfile(Format: "sub", Method: "Embed")) SubtitleProfiles.append(_AVSubtitleProfile(Format: "subrip", Method: "Embed")) SubtitleProfiles.append(_AVSubtitleProfile(Format: "srt", Method: "Embed")) - + SubtitleProfiles.append(_AVSubtitleProfile(Format: "pgs", Method: "Embed")) + let ResponseProfiles: [_AVResponseProfile] = [_AVResponseProfile(Type: "Video", Container: "m4v", MimeType: "video/mp4")] let DP = DeviceProfile(MaxStreamingBitrate: MaxStreamingBitrate, MaxStaticBitrate: MaxStaticBitrate, MusicStreamingTranscodingBitrate: MusicStreamingTranscodingBitrate, DirectPlayProfiles: DirectPlayProfiles, TranscodingProfiles: TranscodingProfiles, CodecProfiles: CodecProfiles, SubtitleProfiles: SubtitleProfiles, ResponseProfiles: ResponseProfiles)