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
3137fcd1
authored
Aug 30, 2017
by
Shyri Villar
Committed by
Oliver Woodman
Sep 09, 2017
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add support for new codecs parameter string
parent
64b1566a
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 @
3137fcd1
...
@@ -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