Limit SequenceAssetLoader variable scope.
All usages of these variables are within the SampleConsumerWrapper, so limit them to that scope. PiperOrigin-RevId: 568582645
This commit is contained in:
parent
8b71712edc
commit
c03a0fb66b
@ -89,10 +89,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
private boolean trackCountReported;
|
||||
private boolean decodeAudio;
|
||||
private boolean decodeVideo;
|
||||
private long totalDurationUs;
|
||||
private int sequenceLoopCount;
|
||||
private boolean audioLoopingEnded;
|
||||
private boolean videoLoopingEnded;
|
||||
private int processedInputsSize;
|
||||
private boolean released;
|
||||
|
||||
@ -354,6 +351,10 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
private final SampleConsumer sampleConsumer;
|
||||
|
||||
private long totalDurationUs;
|
||||
private boolean audioLoopingEnded;
|
||||
private boolean videoLoopingEnded;
|
||||
|
||||
public SampleConsumerWrapper(SampleConsumer sampleConsumer) {
|
||||
this.sampleConsumer = sampleConsumer;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user