Skip to content

Commit

Permalink
Add DVB subtitle support in ExoPlayer
Browse files Browse the repository at this point in the history
(cherry picked from commit 93979e1)
  • Loading branch information
nielsvanvelzen committed Apr 23, 2023
1 parent a001846 commit 834bebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/org/jellyfin/androidtv/constant/Codec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ object Codec {

object Subtitle {
const val ASS = "ass"
const val DVBSUB = "dvbsub"
const val DVDSUB = "dvdsub"
const val IDX = "idx"
const val PGS = "pgs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ class ExoPlayerProfile(
subtitleProfile(Codec.Subtitle.SSA, SubtitleDeliveryMethod.Encode),
subtitleProfile(Codec.Subtitle.PGS, SubtitleDeliveryMethod.Embed),
subtitleProfile(Codec.Subtitle.PGSSUB, SubtitleDeliveryMethod.Embed),
subtitleProfile(Codec.Subtitle.DVBSUB, SubtitleDeliveryMethod.Embed),
subtitleProfile(Codec.Subtitle.DVDSUB, SubtitleDeliveryMethod.Encode),
subtitleProfile(Codec.Subtitle.VTT, SubtitleDeliveryMethod.Embed),
subtitleProfile(Codec.Subtitle.SUB, SubtitleDeliveryMethod.Embed),
Expand Down

0 comments on commit 834bebb

Please sign in to comment.