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
fa669d80
authored
May 05, 2023
by
claincly
Committed by
Tofunmi Adigun-Hameed
May 08, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove unused variables in DVFP.
PiperOrigin-RevId: 529685584
parent
9f2d2005
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
library/effect/src/main/java/com/google/android/exoplayer2/effect/DefaultVideoFrameProcessor.java
library/effect/src/main/java/com/google/android/exoplayer2/effect/DefaultVideoFrameProcessor.java
View file @
fa669d80
...
@@ -297,7 +297,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
...
@@ -297,7 +297,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
finalShaderProgramWrapper
.
setOnInputStreamProcessedListener
(
finalShaderProgramWrapper
.
setOnInputStreamProcessedListener
(
()
->
{
()
->
{
synchronized
(
lock
)
{
synchronized
(
lock
)
{
@InputType
int
currentInputType
=
unprocessedInputStreams
.
remove
();
unprocessedInputStreams
.
remove
();
if
(
latch
!=
null
)
{
if
(
latch
!=
null
)
{
latch
.
countDown
();
latch
.
countDown
();
}
}
...
@@ -354,15 +354,12 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
...
@@ -354,15 +354,12 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
@Override
@Override
public
void
registerInputStream
(
@InputType
int
inputType
)
{
public
void
registerInputStream
(
@InputType
int
inputType
)
{
@InputType
int
currentInputType
;
synchronized
(
lock
)
{
synchronized
(
lock
)
{
if
(
unprocessedInputStreams
.
isEmpty
())
{
if
(
unprocessedInputStreams
.
isEmpty
())
{
textureManager
=
inputSwitcher
.
switchToInput
(
inputType
);
textureManager
=
inputSwitcher
.
switchToInput
(
inputType
);
unprocessedInputStreams
.
add
(
inputType
);
unprocessedInputStreams
.
add
(
inputType
);
return
;
return
;
}
}
currentInputType
=
checkNotNull
(
unprocessedInputStreams
.
peek
());
}
}
checkNotNull
(
textureManager
).
signalEndOfCurrentInputStream
();
checkNotNull
(
textureManager
).
signalEndOfCurrentInputStream
();
...
...
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