Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf957c2f authored by Ronghua Wu's avatar Ronghua Wu Committed by Android Git Automerger
Browse files

am 0a84c4c9: am bf14a4e6: am 2f1e6478: am 5817765c: am ca7f391e: Merge...

am 0a84c4c9: am bf14a4e6: am 2f1e6478: am 5817765c: am ca7f391e: Merge "MediaCodecList: fix findEncoderForFormat." into lmp-dev

* commit '0a84c4c9ad2c62b788047e762ef73ca0623e4a0a':
  MediaCodecList: fix findEncoderForFormat.
parents 36bf8f58 87fb4fb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ final public class MediaCodecList {
     *         requests, or {@code null} if no such codec has been found.
     */
    public final String findEncoderForFormat(MediaFormat format) {
        return findCodecForFormat(false /* encoder */, format);
        return findCodecForFormat(true /* encoder */, format);
    }

    private String findCodecForFormat(boolean encoder, MediaFormat format) {