Commit 2bb93be1 by Zen Xu

format

parent 24db0859
......@@ -47,7 +47,6 @@ import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Log;
import com.google.android.exoplayer2.util.MimeTypes;
import com.google.android.exoplayer2.util.Util;
import java.util.ArrayList;
/** Information about a {@link MediaCodec} for a given mime type. */
@SuppressWarnings("InlinedApi")
......@@ -301,10 +300,10 @@ public final class MediaCodecInfo {
}
CodecProfileLevel[] codecProfileLevels = getProfileLevels();
if (MimeTypes.VIDEO_VP9.equals(mimeType) &&
Util.SDK_INT <= 23 &&
codecProfileLevels.length == 0 &&
capabilities != null) {
if (MimeTypes.VIDEO_VP9.equals(mimeType)
&& Util.SDK_INT <= 23
&& codecProfileLevels.length == 0
&& capabilities != null) {
codecProfileLevels = getVp9CodecProfileLevelsV23(capabilities);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment