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
bda66047
authored
Mar 23, 2022
by
hschlueter
Committed by
Ian Baker
Mar 23, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove FrameEditor reference.
PiperOrigin-RevId: 436702840
parent
fe8996e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
libraries/transformer/src/main/java/androidx/media3/transformer/VideoTranscodingSamplePipeline.java
libraries/transformer/src/main/java/androidx/media3/transformer/VideoTranscodingSamplePipeline.java
View file @
bda66047
...
@@ -109,7 +109,7 @@ import org.checkerframework.dataflow.qual.Pure;
...
@@ -109,7 +109,7 @@ import org.checkerframework.dataflow.qual.Pure;
||
inputFormat
.
height
!=
encoderSupportedFormat
.
height
||
inputFormat
.
height
!=
encoderSupportedFormat
.
height
||
inputFormat
.
width
!=
encoderSupportedFormat
.
width
||
inputFormat
.
width
!=
encoderSupportedFormat
.
width
||
scaleToFitFrameProcessor
.
shouldProcess
()
||
scaleToFitFrameProcessor
.
shouldProcess
()
||
shouldAlwaysUseFrame
Editor
())
{
||
shouldAlwaysUseFrame
ProcessorChain
())
{
// TODO(b/218488308): Allow the final GlFrameProcessor to be re-configured if its output size
// TODO(b/218488308): Allow the final GlFrameProcessor to be re-configured if its output size
// has to change due to encoder fallback or append another GlFrameProcessor.
// has to change due to encoder fallback or append another GlFrameProcessor.
frameProcessorSizes
.
set
(
frameProcessorSizes
.
set
(
...
@@ -287,8 +287,8 @@ import org.checkerframework.dataflow.qual.Pure;
...
@@ -287,8 +287,8 @@ import org.checkerframework.dataflow.qual.Pure;
.
build
();
.
build
();
}
}
/** Always use {@link Frame
Editor
} to work around device-specific encoder issues. */
/** Always use {@link Frame
ProcessorChain
} to work around device-specific encoder issues. */
private
static
boolean
shouldAlwaysUseFrame
Editor
()
{
private
static
boolean
shouldAlwaysUseFrame
ProcessorChain
()
{
switch
(
Util
.
MODEL
)
{
switch
(
Util
.
MODEL
)
{
case
"XT1635-02"
:
case
"XT1635-02"
:
case
"Nexus 5"
:
case
"Nexus 5"
:
...
...
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