Skip to content

Commit

Permalink
Cherry pick PR #3621: [UWP] Fix wrong 360 playing after suspend/resum…
Browse files Browse the repository at this point in the history
…e (#3846)

Refer to the original PR: youtube/cobalt#3621

b/345845783

Co-authored-by: victorpasoshnikov <[email protected]>
  • Loading branch information
1 parent daea1ae commit 11f2090
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions starboard/shared/uwp/extended_resources_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,9 @@ void ExtendedResourcesManager::ReleaseExtendedResourcesInternal() {
is_extended_resources_acquired_.store(false);
pending_extended_resources_release_.store(false);
}
// After extendedResources release the codecs supportability changes.
// So mime supportability cache must be reset.
MimeSupportabilityCache::GetInstance()->ClearCachedMimeSupportabilities();
}

} // namespace uwp
Expand Down

0 comments on commit 11f2090

Please sign in to comment.