Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ public VideoCodecStatus release() {
renderedTextureMetadata = null;
}
callback = null;
frameInfos.clear();
return status;
}

Expand Down Expand Up @@ -331,6 +330,7 @@ private VideoCodecStatus releaseInternal() {
} finally {
codec = null;
outputThread = null;
frameInfos.clear();
}
return VideoCodecStatus.OK;
}
Expand Down Expand Up @@ -422,7 +422,6 @@ private void deliverTextureFrame(final int index, final MediaCodec.BufferInfo in

@Override
public void onFrame(VideoFrame frame) {
final VideoFrame newFrame;
final Integer decodeTimeMs;
final long timestampNs;
synchronized (renderedTextureMetadataLock) {
Expand Down