Commit f14f0ce8 by olly Committed by bachinger

Remove LibvpxVideoRenderer from nullness blacklist

PiperOrigin-RevId: 283310946
parent aceba835
...@@ -71,8 +71,8 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer { ...@@ -71,8 +71,8 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
private final boolean enableRowMultiThreadMode; private final boolean enableRowMultiThreadMode;
private final int threads; private final int threads;
private VpxDecoder decoder; @Nullable private VpxDecoder decoder;
private VideoFrameMetadataListener frameMetadataListener; @Nullable private VideoFrameMetadataListener frameMetadataListener;
/** /**
* @param allowedJoiningTimeMs The maximum duration in milliseconds for which this video renderer * @param allowedJoiningTimeMs The maximum duration in milliseconds for which this video renderer
...@@ -257,7 +257,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer { ...@@ -257,7 +257,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
TraceUtil.beginSection("createVpxDecoder"); TraceUtil.beginSection("createVpxDecoder");
int initialInputBufferSize = int initialInputBufferSize =
format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE; format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE;
decoder = VpxDecoder decoder =
new VpxDecoder( new VpxDecoder(
numInputBuffers, numInputBuffers,
numOutputBuffers, numOutputBuffers,
...@@ -265,6 +265,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer { ...@@ -265,6 +265,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
mediaCrypto, mediaCrypto,
enableRowMultiThreadMode, enableRowMultiThreadMode,
threads); threads);
this.decoder = decoder;
TraceUtil.endSection(); TraceUtil.endSection();
return decoder; return decoder;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment