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
d605b6c7
authored
Nov 24, 2020
by
kim-vde
Committed by
Ian Baker
Nov 30, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Merge pull request #8257 from xufuji456:dev-v2
PiperOrigin-RevId: 344057097
parent
07a8b59a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
RELEASENOTES.md
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
RELEASENOTES.md
View file @
d605b6c7
...
...
@@ -34,6 +34,8 @@
*
Matroska: Add support for 32-bit floating point PCM, and 8-bit and
16-bit big endian integer PCM
(
[
#8142
](
https://github.com/google/ExoPlayer/issues/8142
)
).
*
MP4: Add support for mpeg1 video box
(
[
#8257
](
https://github.com/google/ExoPlayer/issues/8257
)
).
*
IMA extension:
*
Upgrade IMA SDK dependency to 3.21.0, and release the
`AdsLoader`
(
[
#7344
](
https://github.com/google/ExoPlayer/issues/7344
)
).
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
View file @
d605b6c7
...
...
@@ -278,6 +278,9 @@ import java.util.List;
public
static
final
int
TYPE_TTML
=
0x54544d4c
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_m1v_
=
0x6d317620
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_mp4v
=
0x6d703476
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
d605b6c7
...
...
@@ -853,6 +853,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
if
(
childAtomType
==
Atom
.
TYPE_avc1
||
childAtomType
==
Atom
.
TYPE_avc3
||
childAtomType
==
Atom
.
TYPE_encv
||
childAtomType
==
Atom
.
TYPE_m1v_
||
childAtomType
==
Atom
.
TYPE_mp4v
||
childAtomType
==
Atom
.
TYPE_hvc1
||
childAtomType
==
Atom
.
TYPE_hev1
...
...
@@ -993,8 +994,12 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
// drmInitData = null;
// }
@Nullable
List
<
byte
[]>
initializationData
=
null
;
@Nullable
String
mimeType
=
null
;
if
(
atomType
==
Atom
.
TYPE_m1v_
)
{
mimeType
=
MimeTypes
.
VIDEO_MPEG
;
}
@Nullable
List
<
byte
[]>
initializationData
=
null
;
@Nullable
String
codecs
=
null
;
@Nullable
byte
[]
projectionData
=
null
;
@C
.
StereoMode
...
...
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