Use microseconds not nanoseconds for GlFrameProcessor.
This requires an additional nanos to micros conversion because the SurfaceTexture uses nanos. But as the timestamps from the MediaCodec decoder (propagated in DefaultCodec#releaseOutputBuffer) are in microseconds no precision is lost here. Also add test that checks output video duration. PiperOrigin-RevId: 438010490
Showing
with
106 additions
and
19 deletions
Please
register
or
sign in
to comment