diff --git a/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java b/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java index 856ca893856..f52dc3defca 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java @@ -51,7 +51,13 @@ *
  • AC3 ({@link Ac3Extractor}) *
  • AC4 ({@link Ac4Extractor}) *
  • AMR ({@link AmrExtractor}) - *
  • FLAC (only available if the FLAC extension is built and included) + *
  • FLAC + * * */ public final class DefaultExtractorsFactory implements ExtractorsFactory { @@ -247,10 +253,6 @@ public synchronized Extractor[] createExtractors() { ? AmrExtractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING : 0)); extractors[12] = new Ac4Extractor(); - // Prefer the FLAC extension extractor because it outputs raw audio, which can be handled by the - // framework on all API levels, unlike the core library FLAC extractor, which outputs FLAC audio - // frames and so relies on having a FLAC decoder (e.g., a MediaCodec decoder that handles FLAC - // (from API 27), or the FFmpeg extension with FLAC enabled). if (FLAC_EXTENSION_EXTRACTOR_CONSTRUCTOR != null) { try { extractors[13] = FLAC_EXTENSION_EXTRACTOR_CONSTRUCTOR.newInstance();