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
e32809cf
authored
Feb 17, 2022
by
olly
Committed by
Ian Baker
Feb 18, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Avoid Clearing Supplemental Data Flag In MatroskExtractor
PiperOrigin-RevId: 429368911
parent
bdcc9ea1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.java
View file @
e32809cf
...
@@ -1419,7 +1419,7 @@ public class MatroskaExtractor implements Extractor {
...
@@ -1419,7 +1419,7 @@ public class MatroskaExtractor implements Extractor {
if
(
blockSampleCount
>
1
)
{
if
(
blockSampleCount
>
1
)
{
// There were multiple samples in the block. Appending the additional data to the last
// There were multiple samples in the block. Appending the additional data to the last
// sample doesn't make sense. Skip instead.
// sample doesn't make sense. Skip instead.
flags
&=
~
C
.
BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA
;
supplementalData
.
reset
(
/* limit= */
0
)
;
}
else
{
}
else
{
// Append supplemental data.
// Append supplemental data.
int
supplementalDataSize
=
supplementalData
.
limit
();
int
supplementalDataSize
=
supplementalData
.
limit
();
...
...
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