Skip to content

Commit

Permalink
Never load PGS externally
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Nov 12, 2024
1 parent 2ba2b70 commit 3e059e5
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ class ExoPlayerProfile(
arrayOf(
Codec.Subtitle.SRT,
Codec.Subtitle.SUBRIP,
Codec.Subtitle.PGS,
Codec.Subtitle.PGSSUB,
Codec.Subtitle.DVBSUB,
Codec.Subtitle.VTT,
Expand All @@ -221,6 +220,14 @@ class ExoPlayerProfile(
add(subtitleProfile(codec, SubtitleDeliveryMethod.External))
}

// Rendering supported, but needs to be embedded
arrayOf(
Codec.Subtitle.PGS,
).forEach { codec ->
add(subtitleProfile(codec, SubtitleDeliveryMethod.Embed))
add(subtitleProfile(codec, SubtitleDeliveryMethod.Hls))
}

// Require baking
arrayOf(
Codec.Subtitle.ASS,
Expand Down

0 comments on commit 3e059e5

Please sign in to comment.