initialize codec list before MediaCodec.getCodecInfo()
Bug: 17374217 Change-Id: I8e8fc3a34ec01afdf5fc577979010183971c878b
This commit is contained in:
@@ -118,6 +118,7 @@ final public class MediaCodecList {
|
||||
|
||||
/** @hide */
|
||||
public static MediaCodecInfo getInfoFor(String codec) {
|
||||
initCodecList();
|
||||
return sAllCodecInfos[findCodecByName(codec)];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user