mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +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 androidx.annotation.CallSuper;
|
||||
import androidx.media3.common.GlObjectsProvider;
|
||||
import androidx.media3.common.GlTextureInfo;
|
||||
import androidx.media3.common.VideoFrameProcessingException;
|
||||
|
|
@ -188,6 +189,7 @@ public abstract class BaseGlShaderProgram implements GlShaderProgram {
|
|||
}
|
||||
|
||||
@Override
|
||||
@CallSuper
|
||||
public void flush() {
|
||||
frameProcessingStarted = true;
|
||||
freeOutputTextures.addAll(inUseOutputTextures);
|
||||
|
|
@ -199,6 +201,7 @@ public abstract class BaseGlShaderProgram implements GlShaderProgram {
|
|||
}
|
||||
|
||||
@Override
|
||||
@CallSuper
|
||||
public void release() throws VideoFrameProcessingException {
|
||||
frameProcessingStarted = true;
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue