mirror of
https://github.com/samsonjs/media.git
synced 2026-04-10 12:05:47 +00:00
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
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Reference in a new issue