mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

This method is already called below in the `else if (sps.isCompleted())` block which applies when `hasOutputFormat == true`, but this is only ever entered if we are parsing SPS and PPS NAL units **after** we've emitted a format, which is only the case if `DefaultTsPayloadReaderFactory.FLAG_DETECT_ACCESS_UNITS` is set (which it isn't by default). The equivalent call in `H265Reader` is already inside the `if (!hasOutputFormat)` block, so doesn't need a similar fix. #cherrypick PiperOrigin-RevId: 689809529