Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2bb93be1
authored
Jan 18, 2021
by
Zen Xu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
format
parent
24db0859
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecInfo.java
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecInfo.java
View file @
2bb93be1
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment