mirror of
https://github.com/androidx/media.git
synced 2025-05-09 16:40:55 +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);
|
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) {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user