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

Unified Diff: media/gpu/video_decode_accelerator_unittest.cc

Issue 2598313002: Use GetProfileName() for error logs in gpu_video_decode_accelerator.cc (Closed)
Patch Set: Use GetProfileName() to better explain logs displaying VideoCodecProfile. 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
« no previous file with comments | « media/gpu/vaapi_video_encode_accelerator.cc ('k') | media/gpu/video_encode_accelerator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/video_decode_accelerator_unittest.cc
diff --git a/media/gpu/video_decode_accelerator_unittest.cc b/media/gpu/video_decode_accelerator_unittest.cc
index 9611b14c1c6feae6f3f445f02cc936c552e94cf4..b9df8731376637b6a7cd2161d90fc9fc39c4d5f9 100644
--- a/media/gpu/video_decode_accelerator_unittest.cc
+++ b/media/gpu/video_decode_accelerator_unittest.cc
@@ -1009,7 +1009,7 @@ static bool FragmentHasConfigInfo(const uint8_t* data,
return (size > 0 && !(data[0] & 0x01));
}
// Shouldn't happen at this point.
- LOG(FATAL) << "Invalid profile: " << profile;
+ LOG(FATAL) << "Invalid profile: " << GetProfileName(profile);
return false;
}
« no previous file with comments | « media/gpu/vaapi_video_encode_accelerator.cc ('k') | media/gpu/video_encode_accelerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698