Commit f74cd7b1 by claincly Committed by christosts

Fix a missed rename.

PiperOrigin-RevId: 510100709
parent ab2cabe3
...@@ -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> glFrameProcessorFuture = Future<DefaultVideoFrameProcessor> defaultVideoFrameProcessorFuture =
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 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) {
......
...@@ -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 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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment