From ee4a0ea3df542762cf7d8333681a8ae8ecf100da Mon Sep 17 00:00:00 2001 From: dancho Date: Wed, 15 Jan 2025 03:40:05 -0800 Subject: [PATCH] Remove deprecated experimentalParseWithinGopSampleDependencies Remove deprecated API in favor of experimentalSetCodecsToParseWithinGopSampleDependencies. PiperOrigin-RevId: 715731718 --- .../source/chunk/BundledChunkExtractor.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/source/chunk/BundledChunkExtractor.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/source/chunk/BundledChunkExtractor.java index db3af4ce78..bba5537acf 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/source/chunk/BundledChunkExtractor.java +++ b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/source/chunk/BundledChunkExtractor.java @@ -169,29 +169,6 @@ public final class BundledChunkExtractor implements ExtractorOutput, ChunkExtrac } return new BundledChunkExtractor(extractor, primaryTrackType, representationFormat); } - - /** - * Sets whether within GOP sample dependency information for {@linkplain MimeTypes#VIDEO_H264 - * H.264} video should be parsed as part of extraction. Defaults to {@code false}. - * - *

Having access to additional sample dependency information can speed up seeking. See {@link - * FragmentedMp4Extractor#FLAG_READ_WITHIN_GOP_SAMPLE_DEPENDENCIES}. - * - *

This method is experimental and will be renamed or removed in a future release. - * - * @deprecated Use {@link #experimentalSetCodecsToParseWithinGopSampleDependencies(int)} - * instead. - * @param parseWithinGopSampleDependencies Whether to parse within GOP sample dependencies - * during extraction. - * @return This factory, for convenience. - */ - @CanIgnoreReturnValue - @Deprecated - public Factory experimentalParseWithinGopSampleDependencies( - boolean parseWithinGopSampleDependencies) { - return experimentalSetCodecsToParseWithinGopSampleDependencies( - parseWithinGopSampleDependencies ? C.VIDEO_CODEC_FLAG_H264 : 0); - } } /**