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
f74cd7b1
authored
Feb 16, 2023
by
claincly
Committed by
christosts
Feb 17, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix a missed rename.
PiperOrigin-RevId: 510100709
parent
ab2cabe3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
library/effect/src/main/java/com/google/android/exoplayer2/effect/DefaultVideoFrameProcessor.java
library/effect/src/main/java/com/google/android/exoplayer2/effect/ExternalTextureManager.java
library/effect/src/main/java/com/google/android/exoplayer2/effect/DefaultVideoFrameProcessor.java
View file @
f74cd7b1
...
@@ -124,7 +124,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
...
@@ -124,7 +124,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
ExecutorService
singleThreadExecutorService
=
Util
.
newSingleThreadExecutor
(
THREAD_NAME
);
ExecutorService
singleThreadExecutorService
=
Util
.
newSingleThreadExecutor
(
THREAD_NAME
);
Future
<
DefaultVideoFrameProcessor
>
gl
FrameProcessorFuture
=
Future
<
DefaultVideoFrameProcessor
>
defaultVideo
FrameProcessorFuture
=
singleThreadExecutorService
.
submit
(
singleThreadExecutorService
.
submit
(
()
->
()
->
createOpenGlObjectsAndFrameProcessor
(
createOpenGlObjectsAndFrameProcessor
(
...
@@ -140,7 +140,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
...
@@ -140,7 +140,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
listener
));
listener
));
try
{
try
{
return
gl
FrameProcessorFuture
.
get
();
return
defaultVideo
FrameProcessorFuture
.
get
();
}
catch
(
ExecutionException
e
)
{
}
catch
(
ExecutionException
e
)
{
throw
new
VideoFrameProcessingException
(
e
);
throw
new
VideoFrameProcessingException
(
e
);
}
catch
(
InterruptedException
e
)
{
}
catch
(
InterruptedException
e
)
{
...
...
library/effect/src/main/java/com/google/android/exoplayer2/effect/ExternalTextureManager.java
View file @
f74cd7b1
...
@@ -107,7 +107,7 @@ import java.util.concurrent.atomic.AtomicInteger;
...
@@ -107,7 +107,7 @@ import java.util.concurrent.atomic.AtomicInteger;
surface
=
new
Surface
(
surfaceTexture
);
surface
=
new
Surface
(
surfaceTexture
);
}
}
/** See {@link
GlEffects
FrameProcessor#setInputDefaultBufferSize}. */
/** See {@link
DefaultVideo
FrameProcessor#setInputDefaultBufferSize}. */
public
void
setDefaultBufferSize
(
int
width
,
int
height
)
{
public
void
setDefaultBufferSize
(
int
width
,
int
height
)
{
surfaceTexture
.
setDefaultBufferSize
(
width
,
height
);
surfaceTexture
.
setDefaultBufferSize
(
width
,
height
);
}
}
...
...
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