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

Unified Diff: webrtc/common_video/h264/profile_level_id.cc

Issue 2477923002: Add more tests for H264 profile level id parsing (Closed)
Patch Set: Created 4 years, 1 month 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 | webrtc/common_video/h264/profile_level_id_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/h264/profile_level_id.cc
diff --git a/webrtc/common_video/h264/profile_level_id.cc b/webrtc/common_video/h264/profile_level_id.cc
index 6d8c5c0ce80fa18819759ae4da190da9b79738af..c7b7f2c2fffd13f8796fe92fd0999ee422dba68d 100644
--- a/webrtc/common_video/h264/profile_level_id.cc
+++ b/webrtc/common_video/h264/profile_level_id.cc
@@ -139,7 +139,7 @@ rtc::Optional<std::string> ProfileLevelIdToString(
case kProfileBaseline:
return rtc::Optional<std::string>("42100b");
case kProfileMain:
- return rtc::Optional<std::string>("4D100b");
+ return rtc::Optional<std::string>("4d100b");
// Level 1b is not allowed for other profiles.
default:
return rtc::Optional<std::string>();
@@ -155,7 +155,7 @@ rtc::Optional<std::string> ProfileLevelIdToString(
profile_idc_iop_string = "4200";
break;
case kProfileMain:
- profile_idc_iop_string = "4D00";
+ profile_idc_iop_string = "4d00";
break;
case kProfileConstrainedHigh:
profile_idc_iop_string = "640c";
« no previous file with comments | « no previous file | webrtc/common_video/h264/profile_level_id_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698