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
d881a675
authored
Aug 21, 2020
by
andrewlewis
Committed by
kim-vde
Aug 26, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Check output format change timing after API 30
PiperOrigin-RevId: 327795332
parent
4c894c80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/DebugRenderersFactory.java
playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/DebugRenderersFactory.java
View file @
d881a675
...
@@ -136,13 +136,9 @@ import java.util.ArrayList;
...
@@ -136,13 +136,9 @@ import java.util.ArrayList;
skipToPositionBeforeRenderingFirstFrame
=
getState
()
==
Renderer
.
STATE_STARTED
;
skipToPositionBeforeRenderingFirstFrame
=
getState
()
==
Renderer
.
STATE_STARTED
;
super
.
configureCodec
(
codecInfo
,
codecAdapter
,
format
,
crypto
,
operatingRate
);
super
.
configureCodec
(
codecInfo
,
codecAdapter
,
format
,
crypto
,
operatingRate
);
// Two separate issues affect whether MediaFormat changes occur at the correct time.
// Output MediaFormat changes are known to occur too early until API 30 (see [internal:
// As per [Internal ref: b/149818050, b/149751672], MediaFormat changes can occur early for
// b/149818050, b/149751672]).
// SDK 29 and 30.
shouldMediaFormatChangeTimesBeChecked
=
Util
.
SDK_INT
>
30
;
// [Internal ref: b/165786766] When using OMX software decoders, MediaFormat change timestamp
// appears to occur early up to API 30.
shouldMediaFormatChangeTimesBeChecked
=
(
Util
.
SDK_INT
<
29
&&
!
codecInfo
.
name
.
startsWith
(
"OMX.google"
))
||
Util
.
SDK_INT
>
30
;
}
}
@Override
@Override
...
...
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