summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorRonghua Wu <ronghuawu@google.com>2014-09-25 00:27:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-25 00:27:44 +0000
commitac1e24986c12caa6898fa51bc7e0a5e9ff9d3c7f (patch)
treeaa1f2ee1f9e5151419cff67b4a3d8fb57ae9e52b /media
parent2b286d54d1944fbc31a571850bf8aaadd1e0f61c (diff)
parent7e1d525b47404a27fb1c780ea2070f7ca8344461 (diff)
downloadframeworks_base-ac1e24986c12caa6898fa51bc7e0a5e9ff9d3c7f.zip
frameworks_base-ac1e24986c12caa6898fa51bc7e0a5e9ff9d3c7f.tar.gz
frameworks_base-ac1e24986c12caa6898fa51bc7e0a5e9ff9d3c7f.tar.bz2
am ca7f391e: Merge "MediaCodecList: fix findEncoderForFormat." into lmp-dev
* commit 'ca7f391e2b04a9efc4beb5f5b769653a983ff424': MediaCodecList: fix findEncoderForFormat.
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/MediaCodecList.java2
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) {