/** * Initializes the extractor to output to the provided {@link SingleTrackOutput}, and configures * it to receive data from a new chunk. * * @param output The {@link SingleTrackOutput} that will receive the parsed data. */ public void init(SingleTrackOutput output) { this.output = output; if (!extractorInitialized) { extractor.init(this); extractorInitialized = true; } else { extractor.seek(); } }
Extractor extractor = extractorHolder.selectExtractor(input); if (pendingExtractorSeek) { extractor.seek(); pendingExtractorSeek = false;