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

Unified Diff: media/gpu/android_video_encode_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_encode_accelerator.cc
diff --git a/media/gpu/android_video_encode_accelerator.cc b/media/gpu/android_video_encode_accelerator.cc
index 2e8559dd27f21814c2cf186172240a4d39d626da..cfad7faf500a218aed6944d89394b7a39acd8b74 100644
--- a/media/gpu/android_video_encode_accelerator.cc
+++ b/media/gpu/android_video_encode_accelerator.cc
@@ -156,7 +156,8 @@ bool AndroidVideoEncodeAccelerator::Initialize(
if (!(MediaCodecUtil::SupportsSetParameters() &&
format == PIXEL_FORMAT_I420)) {
- DLOG(ERROR) << "Unexpected combo: " << format << ", " << output_profile;
+ DLOG(ERROR) << "Unexpected combo: " << format << ", "
+ << GetProfileName(output_profile);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698