media/libraries/transformer/src
claincly ba84de02f6 Fix codec's MIME type is not used
In some cases the codec selected for decoding has a different MIME type than
the media. In thoses cases Transformer continued to use the media's MIME type
and that caused codec configuration failures.

Removed `EncoderUtil.findCodecForFormat()` as we stopped using the method it
uses for finding a codec. Plus, the method is only used in the test.

See also `MediaCodecUtil.getALternativeCodecMimeType()`.

PiperOrigin-RevId: 536683663
(cherry picked from commit 208eefc0fd)
2023-06-12 09:13:52 +00:00
..
androidTest Fix codec's MIME type is not used 2023-06-12 09:13:52 +00:00
main Fix codec's MIME type is not used 2023-06-12 09:13:52 +00:00
test Transmux video if rotation is only effect applied 2023-06-12 09:13:51 +00:00