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

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

am 5817765c: am ca7f391e: Merge "MediaCodecList: fix findEncoderForFormat." into lmp-dev

* commit '5817765c034d41881ebfe72d7d6d0c81a2ed8e10':
  MediaCodecList: fix findEncoderForFormat.
parents 9465446f 2a7667de
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) {