Skip to content

Commit

Permalink
Reset upstream format when empty track selection happens
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 249819080
  • Loading branch information
ojw28 committed May 31, 2019
1 parent 2e1ea37 commit 9b104f6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ public boolean selectTracks(TrackSelection[] selections, boolean[] mayRetainStre
if (enabledTrackGroupCount == 0) {
chunkSource.reset();
downstreamTrackFormat = null;
pendingResetUpstreamFormats = true;
mediaChunks.clear();
if (loader.isLoading()) {
if (sampleQueuesBuilt) {
Expand Down

0 comments on commit 9b104f6

Please sign in to comment.