mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00
Fix buffering state when selecting VTT track with no cues
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137697023
This commit is contained in:
parent
ee969b738e
commit
daf7b948a1
@ -95,7 +95,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
this.extractorNeedsInit = extractorNeedsInit;
|
this.extractorNeedsInit = extractorNeedsInit;
|
||||||
this.shouldSpliceIn = shouldSpliceIn;
|
this.shouldSpliceIn = shouldSpliceIn;
|
||||||
// Note: this.dataSource and dataSource may be different.
|
// Note: this.dataSource and dataSource may be different.
|
||||||
adjustedEndTimeUs = startTimeUs;
|
adjustedEndTimeUs = endTimeUs;
|
||||||
this.isEncrypted = this.dataSource instanceof Aes128DataSource;
|
this.isEncrypted = this.dataSource instanceof Aes128DataSource;
|
||||||
uid = UID_SOURCE.getAndIncrement();
|
uid = UID_SOURCE.getAndIncrement();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user