diff options
author | Ronghua Wu <ronghuawu@google.com> | 2014-09-24 10:00:48 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-09-25 00:17:15 +0000 |
commit | e19a80def2146ef8e4e6f920fee57937b717dd30 (patch) | |
tree | b6ee832c017e6f40780dffcd8e8a3616631d0e2f /media | |
parent | 2bac6129a46b89c5e361fafc2c23b16c5716f847 (diff) | |
download | frameworks_base-e19a80def2146ef8e4e6f920fee57937b717dd30.zip frameworks_base-e19a80def2146ef8e4e6f920fee57937b717dd30.tar.gz frameworks_base-e19a80def2146ef8e4e6f920fee57937b717dd30.tar.bz2 |
MediaCodecList: fix findEncoderForFormat.
Bug: 17460057
Bug: 17637188
Change-Id: I618ff1a4dbbecf64786207ccb5208b0a67d80ddd
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/MediaCodecList.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/java/android/media/MediaCodecList.java b/media/java/android/media/MediaCodecList.java index 0dcbd65..bb848d9 100644 --- a/media/java/android/media/MediaCodecList.java +++ b/media/java/android/media/MediaCodecList.java @@ -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) { |