diff --git a/library/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.java b/library/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.java index ec214646229..bfe894f7b4c 100644 --- a/library/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.java +++ b/library/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.java @@ -22,6 +22,7 @@ import com.google.android.exoplayer2.text.tx3g.Tx3gDecoder; import com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder; import com.google.android.exoplayer2.text.webvtt.WebvttDecoder; +import com.google.android.exoplayer2.text.dvbsubs.DvbSubsDecoder; import com.google.android.exoplayer2.util.MimeTypes; /** @@ -58,6 +59,7 @@ public interface SubtitleDecoderFactory { *
  • SubRip ({@link SubripDecoder})
  • *
  • TX3G ({@link Tx3gDecoder})
  • *
  • Eia608 ({@link Eia608Decoder})
  • + *
  • DVB ({@link DvbSubsDecoder})
  • * */ SubtitleDecoderFactory DEFAULT = new SubtitleDecoderFactory() { diff --git a/library/src/main/java/com/google/android/exoplayer2/text/dvbsubs/DvbSubsDecoder.java b/library/src/main/java/com/google/android/exoplayer2/text/dvbsubs/DvbSubsDecoder.java index ea5029a4a43..9b79d8dfc44 100644 --- a/library/src/main/java/com/google/android/exoplayer2/text/dvbsubs/DvbSubsDecoder.java +++ b/library/src/main/java/com/google/android/exoplayer2/text/dvbsubs/DvbSubsDecoder.java @@ -7,7 +7,7 @@ /** * Created by opatino on 8/17/16. */ -final class DvbSubsDecoder extends SimpleSubtitleDecoder { +public final class DvbSubsDecoder extends SimpleSubtitleDecoder { private final String TAG = "DVBSubs Decoder"; DvbSubtitlesParser parser;