mirror of
https://github.com/androidx/media.git
synced 2025-05-09 08:30:43 +08:00
Fix a missed rename.
PiperOrigin-RevId: 510100709
This commit is contained in:
parent
ab2cabe3da
commit
f74cd7b17e
@ -124,7 +124,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
||||
|
||||
ExecutorService singleThreadExecutorService = Util.newSingleThreadExecutor(THREAD_NAME);
|
||||
|
||||
Future<DefaultVideoFrameProcessor> glFrameProcessorFuture =
|
||||
Future<DefaultVideoFrameProcessor> defaultVideoFrameProcessorFuture =
|
||||
singleThreadExecutorService.submit(
|
||||
() ->
|
||||
createOpenGlObjectsAndFrameProcessor(
|
||||
@ -140,7 +140,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
||||
listener));
|
||||
|
||||
try {
|
||||
return glFrameProcessorFuture.get();
|
||||
return defaultVideoFrameProcessorFuture.get();
|
||||
} catch (ExecutionException e) {
|
||||
throw new VideoFrameProcessingException(e);
|
||||
} catch (InterruptedException e) {
|
||||
|
@ -107,7 +107,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
surface = new Surface(surfaceTexture);
|
||||
}
|
||||
|
||||
/** See {@link GlEffectsFrameProcessor#setInputDefaultBufferSize}. */
|
||||
/** See {@link DefaultVideoFrameProcessor#setInputDefaultBufferSize}. */
|
||||
public void setDefaultBufferSize(int width, int height) {
|
||||
surfaceTexture.setDefaultBufferSize(width, height);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user