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

* commit 'bf14a4e6ea6f2c70152a9456ed790fc460734e16':
  MediaCodecList: fix findEncoderForFormat.
This commit is contained in:
Ronghua Wu
2014-09-25 17:06:13 +00:00
committed by Android Git Automerger

View File

@@ -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) {