Transformer: Always initialize presentationTime in VTSP.

This shouldn't really have anything to do with HDR.

PiperOrigin-RevId: 493357915
This commit is contained in:
huangdarwin 2022-12-06 19:06:55 +00:00 committed by Ian Baker
parent c513c138f2
commit e42a438a3d

View file

@ -110,10 +110,10 @@ import org.checkerframework.dataflow.qual.Pure;
/* mediaCodecName= */ null,
TransformationException.ERROR_CODE_HDR_ENCODING_UNSUPPORTED);
}
finalFramePresentationTimeUs = C.TIME_UNSET;
}
finalFramePresentationTimeUs = C.TIME_UNSET;
decoderInputBuffer =
new DecoderInputBuffer(DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED);
encoderOutputBuffer =