Commit daf7b948 by aquilescanta Committed by Oliver Woodman

Fix buffering state when selecting VTT track with no cues

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137697023
parent ee969b73
...@@ -95,7 +95,7 @@ import java.util.concurrent.atomic.AtomicInteger; ...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment