Fix a missed rename.

PiperOrigin-RevId: 510100709
This commit is contained in:
claincly 2023-02-16 12:01:11 +00:00 committed by christosts
parent ab2cabe3da
commit f74cd7b17e
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
ExecutorService singleThreadExecutorService = Util.newSingleThreadExecutor(THREAD_NAME); ExecutorService singleThreadExecutorService = Util.newSingleThreadExecutor(THREAD_NAME);
Future<DefaultVideoFrameProcessor> glFrameProcessorFuture = Future<DefaultVideoFrameProcessor> defaultVideoFrameProcessorFuture =
singleThreadExecutorService.submit( singleThreadExecutorService.submit(
() -> () ->
createOpenGlObjectsAndFrameProcessor( createOpenGlObjectsAndFrameProcessor(
@ -140,7 +140,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
listener)); listener));
try { try {
return glFrameProcessorFuture.get(); return defaultVideoFrameProcessorFuture.get();
} catch (ExecutionException e) { } catch (ExecutionException e) {
throw new VideoFrameProcessingException(e); throw new VideoFrameProcessingException(e);
} catch (InterruptedException e) { } catch (InterruptedException e) {

View File

@ -107,7 +107,7 @@ import java.util.concurrent.atomic.AtomicInteger;
surface = new Surface(surfaceTexture); surface = new Surface(surfaceTexture);
} }
/** See {@link GlEffectsFrameProcessor#setInputDefaultBufferSize}. */ /** See {@link DefaultVideoFrameProcessor#setInputDefaultBufferSize}. */
public void setDefaultBufferSize(int width, int height) { public void setDefaultBufferSize(int width, int height) {
surfaceTexture.setDefaultBufferSize(width, height); surfaceTexture.setDefaultBufferSize(width, height);
} }