Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: chromecast/media/base/supported_codec_profile_levels_memo.cc

Issue 2697033003: [Chromecast] Fix IsSupportedVideoConfig() on Android. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/android/java/src/org/chromium/media/CodecProfileLevelList.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/supported_codec_profile_levels_memo.cc
diff --git a/chromecast/media/base/supported_codec_profile_levels_memo.cc b/chromecast/media/base/supported_codec_profile_levels_memo.cc
index be1e9a70aa6dc48358295a35510757054bde05d4..a851a1590391f73a372c8e24ccc6c7ae9650b4ad 100644
--- a/chromecast/media/base/supported_codec_profile_levels_memo.cc
+++ b/chromecast/media/base/supported_codec_profile_levels_memo.cc
@@ -34,7 +34,7 @@ bool SupportedCodecProfileLevelsMemo::IsSupportedVideoConfig(
for (const auto& supported_profile_info : codec_profile_levels_) {
if (codec == supported_profile_info.codec &&
profile == supported_profile_info.profile &&
- level == supported_profile_info.level) {
+ level <= supported_profile_info.level) {
return true;
}
}
« no previous file with comments | « no previous file | media/base/android/java/src/org/chromium/media/CodecProfileLevelList.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698