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
1cd08519
authored
Nov 24, 2020
by
kim-vde
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #8257 from xufuji456:dev-v2
PiperOrigin-RevId: 344057097
parents
f04941ed
6682e623
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 @
1cd08519
...
@@ -59,6 +59,8 @@
...
@@ -59,6 +59,8 @@
*
Matroska: Add support for 32-bit floating point PCM, and 8-bit and
*
Matroska: Add support for 32-bit floating point PCM, and 8-bit and
16-bit big endian integer PCM
16-bit big endian integer PCM
(
[
#8142
](
https://github.com/google/ExoPlayer/issues/8142
)
).
(
[
#8142
](
https://github.com/google/ExoPlayer/issues/8142
)
).
*
MP4: Add support for mpeg1 video box
(
[
#8257
](
https://github.com/google/ExoPlayer/issues/8257
)
).
*
DRM:
*
DRM:
*
Fix playback failure when switching from PlayReady protected content to
*
Fix playback failure when switching from PlayReady protected content to
Widevine or Clearkey protected content in a playlist.
Widevine or Clearkey protected content in a playlist.
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
View file @
1cd08519
...
@@ -281,6 +281,9 @@ import java.util.List;
...
@@ -281,6 +281,9 @@ import java.util.List;
public
static
final
int
TYPE_TTML
=
0x54544d4c
;
public
static
final
int
TYPE_TTML
=
0x54544d4c
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_m1v_
=
0x6d317620
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_mp4v
=
0x6d703476
;
public
static
final
int
TYPE_mp4v
=
0x6d703476
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
@SuppressWarnings
(
"ConstantCaseForConstants"
)
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
1cd08519
...
@@ -853,6 +853,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
...
@@ -853,6 +853,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
if
(
childAtomType
==
Atom
.
TYPE_avc1
if
(
childAtomType
==
Atom
.
TYPE_avc1
||
childAtomType
==
Atom
.
TYPE_avc3
||
childAtomType
==
Atom
.
TYPE_avc3
||
childAtomType
==
Atom
.
TYPE_encv
||
childAtomType
==
Atom
.
TYPE_encv
||
childAtomType
==
Atom
.
TYPE_m1v_
||
childAtomType
==
Atom
.
TYPE_mp4v
||
childAtomType
==
Atom
.
TYPE_mp4v
||
childAtomType
==
Atom
.
TYPE_hvc1
||
childAtomType
==
Atom
.
TYPE_hvc1
||
childAtomType
==
Atom
.
TYPE_hev1
||
childAtomType
==
Atom
.
TYPE_hev1
...
@@ -993,8 +994,12 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
...
@@ -993,8 +994,12 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
// drmInitData = null;
// drmInitData = null;
// }
// }
@Nullable
List
<
byte
[]>
initializationData
=
null
;
@Nullable
String
mimeType
=
null
;
@Nullable
String
mimeType
=
null
;
if
(
atomType
==
Atom
.
TYPE_m1v_
)
{
mimeType
=
MimeTypes
.
VIDEO_MPEG
;
}
@Nullable
List
<
byte
[]>
initializationData
=
null
;
@Nullable
String
codecs
=
null
;
@Nullable
String
codecs
=
null
;
@Nullable
byte
[]
projectionData
=
null
;
@Nullable
byte
[]
projectionData
=
null
;
@C
.
StereoMode
@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