mirror of
https://github.com/androidx/media.git
synced 2025-05-10 09:12:16 +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) {
|
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user