Make input media duration volatile
The duration in TransformerInternal.ComponentListener is set on the Transformer internal thread, and is read on the playback thread. Making this field volatile ensures that the playback thread reads the updated value. PiperOrigin-RevId: 493908385
Showing
with
1 additions
and
1 deletions
Please
register
or
sign in
to comment