mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Deprecate mutable static MediaParserChunkExtractor.FACTORY
Follow-up to <unknown commit> PiperOrigin-RevId: 715329316
This commit is contained in:
parent
6300a55eb2
commit
eefad8cbfa
@ -141,7 +141,11 @@ public final class MediaParserChunkExtractor implements ChunkExtractor {
|
||||
}
|
||||
}
|
||||
|
||||
public static final ChunkExtractor.Factory FACTORY = new Factory();
|
||||
/**
|
||||
* @deprecated {@link ChunkExtractor.Factory} is mutable, so a static instance is not safe.
|
||||
* Instantiate a new {@link Factory} instead.
|
||||
*/
|
||||
@Deprecated public static final ChunkExtractor.Factory FACTORY = new Factory();
|
||||
|
||||
private final OutputConsumerAdapterV30 outputConsumerAdapter;
|
||||
private final InputReaderAdapterV30 inputReaderAdapter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user