mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Mark @CallSuper on some BaseGlShaderProgram methods.
PiperOrigin-RevId: 528734663
This commit is contained in:
parent
25581384e9
commit
ad2d4f5008
1 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ package androidx.media3.effect;
|
||||||
|
|
||||||
import static androidx.media3.common.util.Assertions.checkState;
|
import static androidx.media3.common.util.Assertions.checkState;
|
||||||
|
|
||||||
|
import androidx.annotation.CallSuper;
|
||||||
import androidx.media3.common.GlObjectsProvider;
|
import androidx.media3.common.GlObjectsProvider;
|
||||||
import androidx.media3.common.GlTextureInfo;
|
import androidx.media3.common.GlTextureInfo;
|
||||||
import androidx.media3.common.VideoFrameProcessingException;
|
import androidx.media3.common.VideoFrameProcessingException;
|
||||||
|
|
@ -188,6 +189,7 @@ public abstract class BaseGlShaderProgram implements GlShaderProgram {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@CallSuper
|
||||||
public void flush() {
|
public void flush() {
|
||||||
frameProcessingStarted = true;
|
frameProcessingStarted = true;
|
||||||
freeOutputTextures.addAll(inUseOutputTextures);
|
freeOutputTextures.addAll(inUseOutputTextures);
|
||||||
|
|
@ -199,6 +201,7 @@ public abstract class BaseGlShaderProgram implements GlShaderProgram {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@CallSuper
|
||||||
public void release() throws VideoFrameProcessingException {
|
public void release() throws VideoFrameProcessingException {
|
||||||
frameProcessingStarted = true;
|
frameProcessingStarted = true;
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue