Merge "MediaCodecList: fix findEncoderForFormat." into lmp-dev

This commit is contained in:
Ronghua Wu
2014-09-25 00:23:02 +00:00
committed by Android (Google) Code Review

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