mirror of
https://github.com/androidx/media.git
synced 2025-05-09 16:40:55 +08:00

setInputFormat calls registerInputStream and will cause VideoFrameProcessor to reconfigure. We don't need to call it when setting up the VFP (in `onReadyToInitCodec()`). Rather, we wait until `onOutputFormatChanged()` called (this output format refers to mediaCodec's outptut format) to register the input stream. PiperOrigin-RevId: 553448633