Commit 2bb93be1 by Zen Xu

format

parent 24db0859
...@@ -47,7 +47,6 @@ import com.google.android.exoplayer2.util.Assertions; ...@@ -47,7 +47,6 @@ import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Log; import com.google.android.exoplayer2.util.Log;
import com.google.android.exoplayer2.util.MimeTypes; import com.google.android.exoplayer2.util.MimeTypes;
import com.google.android.exoplayer2.util.Util; import com.google.android.exoplayer2.util.Util;
import java.util.ArrayList;
/** Information about a {@link MediaCodec} for a given mime type. */ /** Information about a {@link MediaCodec} for a given mime type. */
@SuppressWarnings("InlinedApi") @SuppressWarnings("InlinedApi")
...@@ -301,10 +300,10 @@ public final class MediaCodecInfo { ...@@ -301,10 +300,10 @@ public final class MediaCodecInfo {
} }
CodecProfileLevel[] codecProfileLevels = getProfileLevels(); CodecProfileLevel[] codecProfileLevels = getProfileLevels();
if (MimeTypes.VIDEO_VP9.equals(mimeType) && if (MimeTypes.VIDEO_VP9.equals(mimeType)
Util.SDK_INT <= 23 && && Util.SDK_INT <= 23
codecProfileLevels.length == 0 && && codecProfileLevels.length == 0
capabilities != null) { && capabilities != null) {
codecProfileLevels = getVp9CodecProfileLevelsV23(capabilities); 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