Add PGSSub support

This commit is contained in:
Aiden Vigue 2021-07-11 23:28:35 -04:00
parent 2c18b7fb2d
commit c37bc726ea
No known key found for this signature in database
GPG Key ID: B9A09843AB079D5B
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ class DeviceProfileBuilder {
subtitleProfiles.append(SubtitleProfile(format: "ssa", method: .embed))
subtitleProfiles.append(SubtitleProfile(format: "subrip", method: .embed))
subtitleProfiles.append(SubtitleProfile(format: "sub", method: .embed))
subtitleProfiles.append(SubtitleProfile(format: "pgssub", method: .embed))
subtitleProfiles.append(SubtitleProfile(format: "subrip", method: .external))
subtitleProfiles.append(SubtitleProfile(format: "sub", method: .external))
subtitleProfiles.append(SubtitleProfile(format: "ass", method: .external))

View File

@ -31,7 +31,7 @@ struct ImageView: View {
}
.failure {
Rectangle()
.background(Color.gray)
.fill(.gray)
}
}
}