Fix Dackka parameter name error in Gav1Decoder
and VpxDecoder
These aren't caught by presubmit because the classes are annotated `@VisibleForTesting` and are therefore stripped out by Metalava. However Metalava doesn't run when we're generating javadoc for real. #minor-release PiperOrigin-RevId: 487476260
This commit is contained in:
parent
ca8de0e49b
commit
14e23d34e1
@ -136,13 +136,13 @@ public final class Gav1Decoder
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void releaseOutputBuffer(VideoDecoderOutputBuffer buffer) {
|
protected void releaseOutputBuffer(VideoDecoderOutputBuffer outputBuffer) {
|
||||||
// Decode only frames do not acquire a reference on the internal decoder buffer and thus do not
|
// Decode only frames do not acquire a reference on the internal decoder buffer and thus do not
|
||||||
// require a call to gav1ReleaseFrame.
|
// require a call to gav1ReleaseFrame.
|
||||||
if (buffer.mode == C.VIDEO_OUTPUT_MODE_SURFACE_YUV && !buffer.isDecodeOnly()) {
|
if (outputBuffer.mode == C.VIDEO_OUTPUT_MODE_SURFACE_YUV && !outputBuffer.isDecodeOnly()) {
|
||||||
gav1ReleaseFrame(gav1DecoderContext, buffer);
|
gav1ReleaseFrame(gav1DecoderContext, outputBuffer);
|
||||||
}
|
}
|
||||||
super.releaseOutputBuffer(buffer);
|
super.releaseOutputBuffer(outputBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -99,13 +99,13 @@ public final class VpxDecoder
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void releaseOutputBuffer(VideoDecoderOutputBuffer buffer) {
|
protected void releaseOutputBuffer(VideoDecoderOutputBuffer outputBuffer) {
|
||||||
// Decode only frames do not acquire a reference on the internal decoder buffer and thus do not
|
// Decode only frames do not acquire a reference on the internal decoder buffer and thus do not
|
||||||
// require a call to vpxReleaseFrame.
|
// require a call to vpxReleaseFrame.
|
||||||
if (outputMode == C.VIDEO_OUTPUT_MODE_SURFACE_YUV && !buffer.isDecodeOnly()) {
|
if (outputMode == C.VIDEO_OUTPUT_MODE_SURFACE_YUV && !outputBuffer.isDecodeOnly()) {
|
||||||
vpxReleaseFrame(vpxDecContext, buffer);
|
vpxReleaseFrame(vpxDecContext, outputBuffer);
|
||||||
}
|
}
|
||||||
super.releaseOutputBuffer(buffer);
|
super.releaseOutputBuffer(outputBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user