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:
aquilescanta 2016-10-31 06:49:53 -07:00 committed by Oliver Woodman
parent ee969b738e
commit daf7b948a1

View File

@ -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();
} }