mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Remove unnecessary types in lambda
PiperOrigin-RevId: 559745329
This commit is contained in:
parent
a6f9fefb88
commit
8c1bedb483
1 changed files with 8 additions and 11 deletions
|
|
@ -40,7 +40,6 @@ import androidx.media3.common.C;
|
|||
import androidx.media3.common.ColorInfo;
|
||||
import androidx.media3.common.Effect;
|
||||
import androidx.media3.common.GlObjectsProvider;
|
||||
import androidx.media3.common.GlTextureInfo;
|
||||
import androidx.media3.common.VideoFrameProcessingException;
|
||||
import androidx.media3.common.util.GlUtil;
|
||||
import androidx.media3.common.util.Util;
|
||||
|
|
@ -648,11 +647,10 @@ public final class DefaultVideoCompositorPixelTest {
|
|||
compositorEnded.countDown();
|
||||
}
|
||||
},
|
||||
/* textureOutputListener= */ (GlTextureInfo outputTexture,
|
||||
long presentationTimeUs,
|
||||
DefaultVideoFrameProcessor.ReleaseOutputTextureCallback
|
||||
releaseOutputTextureCallback,
|
||||
long syncObject) -> {
|
||||
/* textureOutputListener= */ (outputTexture,
|
||||
presentationTimeUs,
|
||||
releaseOutputTextureCallback,
|
||||
syncObject) -> {
|
||||
if (!useSharedExecutor) {
|
||||
GlUtil.awaitSyncObject(syncObject);
|
||||
}
|
||||
|
|
@ -793,11 +791,10 @@ public final class DefaultVideoCompositorPixelTest {
|
|||
new DefaultVideoFrameProcessor.Factory.Builder()
|
||||
.setGlObjectsProvider(glObjectsProvider)
|
||||
.setTextureOutput(
|
||||
/* textureOutputListener= */ (GlTextureInfo outputTexture,
|
||||
long presentationTimeUs,
|
||||
DefaultVideoFrameProcessor.ReleaseOutputTextureCallback
|
||||
releaseOutputTextureCallback,
|
||||
long syncObject) -> {
|
||||
/* textureOutputListener= */ (outputTexture,
|
||||
presentationTimeUs,
|
||||
releaseOutputTextureCallback,
|
||||
syncObject) -> {
|
||||
GlUtil.awaitSyncObject(syncObject);
|
||||
textureBitmapReader.readBitmapUnpremultipliedAlpha(
|
||||
outputTexture, presentationTimeUs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue