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
c0ad9f51
authored
Sep 06, 2022
by
leonwind
Committed by
Marc Baechinger
Oct 19, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Use super class for toGlProcessor in RgbFilter.
PiperOrigin-RevId: 472405147
parent
daa77da1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/RgbFilter.java
google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/RgbFilter.java
View file @
c0ad9f51
...
...
@@ -20,7 +20,6 @@ import static com.google.android.exoplayer2.util.Assertions.checkState;
import
android.content.Context
;
import
androidx.media3.common.FrameProcessingException
;
import
com.google.common.collect.ImmutableList
;
import
org.checkerframework.checker.nullness.qual.MonotonicNonNull
;
/** Provides common color filters. */
...
...
@@ -93,10 +92,6 @@ public class RgbFilter implements RgbMatrix {
public
MatrixTransformationProcessor
toGlTextureProcessor
(
Context
context
,
boolean
useHdr
)
throws
FrameProcessingException
{
checkForConsistentHdrSetting
(
useHdr
);
return
MatrixTransformationProcessor
.
create
(
context
,
/* matrixTransformations= */
ImmutableList
.
of
(),
/* rgbMatrices= */
ImmutableList
.
of
(
this
),
useHdr
);
return
RgbMatrix
.
super
.
toGlTextureProcessor
(
context
,
useHdr
);
}
}
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