Commit 9b104f6e by olly Committed by Oliver Woodman

Reset upstream format when empty track selection happens

PiperOrigin-RevId: 249819080
parent 2e1ea379
...@@ -322,6 +322,7 @@ import java.util.Map; ...@@ -322,6 +322,7 @@ import java.util.Map;
if (enabledTrackGroupCount == 0) { if (enabledTrackGroupCount == 0) {
chunkSource.reset(); chunkSource.reset();
downstreamTrackFormat = null; downstreamTrackFormat = null;
pendingResetUpstreamFormats = true;
mediaChunks.clear(); mediaChunks.clear();
if (loader.isLoading()) { if (loader.isLoading()) {
if (sampleQueuesBuilt) { if (sampleQueuesBuilt) {
......
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