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

Unified Diff: media/gpu/android_video_decode_accelerator.cc

Issue 2626023003: Use GetProfileName() for logging VideoCodecProfile strings. (Closed)
Patch Set: Use GetProfileName() for logging VideoCodecProfile strings. Created 3 years, 11 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
Index: media/gpu/android_video_decode_accelerator.cc
diff --git a/media/gpu/android_video_decode_accelerator.cc b/media/gpu/android_video_decode_accelerator.cc
index 16d347983ebd17cc4c3ef193c0c865998703b536..9eab9abafbec7eb805522cd6e9dc40ec4c752dc3 100644
--- a/media/gpu/android_video_decode_accelerator.cc
+++ b/media/gpu/android_video_decode_accelerator.cc
@@ -288,7 +288,7 @@ bool AndroidVideoDecodeAccelerator::Initialize(const Config& config,
codec_config_->codec != kCodecHEVC &&
#endif
codec_config_->codec != kCodecH264) {
- DLOG(ERROR) << "Unsupported profile: " << config.profile;
+ DLOG(ERROR) << "Unsupported profile: " << GetProfileName(config.profile);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698