Remove redundant volatile.
PiperOrigin-RevId: 519099339
This commit is contained in:
parent
b118565730
commit
b70e7ca9e7
@ -54,8 +54,8 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
// Read and written only on GL thread.
|
// Read and written only on GL thread.
|
||||||
private int availableFrameCount;
|
private int availableFrameCount;
|
||||||
|
|
||||||
// Set to true on any thread. Read on the GL thread only.
|
// Read and written on the GL thread only.
|
||||||
private volatile boolean inputStreamEnded;
|
private boolean inputStreamEnded;
|
||||||
// The frame that is sent downstream and is not done processing yet.
|
// The frame that is sent downstream and is not done processing yet.
|
||||||
// Set to null on any thread. Read and set to non-null on the GL thread only.
|
// Set to null on any thread. Read and set to non-null on the GL thread only.
|
||||||
@Nullable private volatile FrameInfo currentFrame;
|
@Nullable private volatile FrameInfo currentFrame;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user