mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Reset upstream format when empty track selection happens
PiperOrigin-RevId: 249819080
This commit is contained in:
parent
3e990a3d24
commit
11c0c6d266
@ -322,6 +322,7 @@ import java.util.Map;
|
||||
if (enabledTrackGroupCount == 0) {
|
||||
chunkSource.reset();
|
||||
downstreamTrackFormat = null;
|
||||
pendingResetUpstreamFormats = true;
|
||||
mediaChunks.clear();
|
||||
if (loader.isLoading()) {
|
||||
if (sampleQueuesBuilt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user