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
59688397
authored
Nov 13, 2014
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Suppress deprecation warnings
parent
bc871c94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
library/src/main/java/com/google/android/exoplayer/MediaCodecUtil.java
library/src/main/java/com/google/android/exoplayer/MediaCodecUtil.java
View file @
59688397
...
@@ -64,7 +64,10 @@ public class MediaCodecUtil {
...
@@ -64,7 +64,10 @@ public class MediaCodecUtil {
/**
/**
* Returns the best decoder and its capabilities for the given mimeType. If there's no decoder
* Returns the best decoder and its capabilities for the given mimeType. If there's no decoder
* returns null.
* returns null.
*
* TODO: We need to use the new object based MediaCodecList API.
*/
*/
@SuppressWarnings
(
"deprecation"
)
private
static
synchronized
Pair
<
MediaCodecInfo
,
CodecCapabilities
>
getMediaCodecInfo
(
private
static
synchronized
Pair
<
MediaCodecInfo
,
CodecCapabilities
>
getMediaCodecInfo
(
String
mimeType
)
{
String
mimeType
)
{
Pair
<
MediaCodecInfo
,
CodecCapabilities
>
result
=
codecs
.
get
(
mimeType
);
Pair
<
MediaCodecInfo
,
CodecCapabilities
>
result
=
codecs
.
get
(
mimeType
);
...
...
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