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
d5874206
authored
Jul 08, 2021
by
kimvde
Committed by
Ian Baker
Jul 16, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add support for MP4 H263 atom type
#minor-release Issue:#9158 PiperOrigin-RevId: 383660258
parent
17c60923
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 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 @
d5874206
...
...
@@ -25,6 +25,8 @@
is malformed and should be re-encoded.
*
Improve support for truncated Ogg streams
(
[
#7608
](
https://github.com/google/ExoPlayer/issues/7608
)
).
*
Add support for MP4 H263 atom type
(
[
#9158
](
https://github.com/google/ExoPlayer/issues/9158
)
).
*
HLS:
*
Fix issue where playback of a live event could become stuck rather than
transitioning to
`STATE_ENDED`
when the event ends
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
View file @
d5874206
...
...
@@ -106,6 +106,8 @@ import java.util.List;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_s263
=
0x73323633
;
public
static
final
int
TYPE_H263
=
0x48323633
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_d263
=
0x64323633
;
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
d5874206
...
...
@@ -915,6 +915,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
||
childAtomType
==
Atom
.
TYPE_hvc1
||
childAtomType
==
Atom
.
TYPE_hev1
||
childAtomType
==
Atom
.
TYPE_s263
||
childAtomType
==
Atom
.
TYPE_H263
||
childAtomType
==
Atom
.
TYPE_vp08
||
childAtomType
==
Atom
.
TYPE_vp09
||
childAtomType
==
Atom
.
TYPE_av01
...
...
@@ -1056,6 +1057,8 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
@Nullable
String
mimeType
=
null
;
if
(
atomType
==
Atom
.
TYPE_m1v_
)
{
mimeType
=
MimeTypes
.
VIDEO_MPEG
;
}
else
if
(
atomType
==
Atom
.
TYPE_H263
)
{
mimeType
=
MimeTypes
.
VIDEO_H263
;
}
@Nullable
List
<
byte
[]>
initializationData
=
null
;
...
...
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