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
1a6a6c90
authored
Sep 04, 2017
by
ojw28
Committed by
GitHub
Sep 04, 2017
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #3223 from Shyri/vp09-support
Add support for new codecs parameter string
parents
21363d2f
49c2926e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/core/src/main/java/com/google/android/exoplayer2/util/MimeTypes.java
library/core/src/main/java/com/google/android/exoplayer2/util/MimeTypes.java
View file @
1a6a6c90
...
@@ -184,9 +184,9 @@ public final class MimeTypes {
...
@@ -184,9 +184,9 @@ public final class MimeTypes {
return
MimeTypes
.
VIDEO_H264
;
return
MimeTypes
.
VIDEO_H264
;
}
else
if
(
codec
.
startsWith
(
"hev1"
)
||
codec
.
startsWith
(
"hvc1"
))
{
}
else
if
(
codec
.
startsWith
(
"hev1"
)
||
codec
.
startsWith
(
"hvc1"
))
{
return
MimeTypes
.
VIDEO_H265
;
return
MimeTypes
.
VIDEO_H265
;
}
else
if
(
codec
.
startsWith
(
"vp9"
))
{
}
else
if
(
codec
.
startsWith
(
"vp9"
)
||
codec
.
startsWith
(
"vp09"
)
)
{
return
MimeTypes
.
VIDEO_VP9
;
return
MimeTypes
.
VIDEO_VP9
;
}
else
if
(
codec
.
startsWith
(
"vp8"
))
{
}
else
if
(
codec
.
startsWith
(
"vp8"
)
||
codec
.
startsWith
(
"vp08"
)
)
{
return
MimeTypes
.
VIDEO_VP8
;
return
MimeTypes
.
VIDEO_VP8
;
}
else
if
(
codec
.
startsWith
(
"mp4a"
))
{
}
else
if
(
codec
.
startsWith
(
"mp4a"
))
{
return
MimeTypes
.
AUDIO_AAC
;
return
MimeTypes
.
AUDIO_AAC
;
...
...
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