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

Unified Diff: content/renderer/media/gpu/rtc_video_decoder.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 | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/gpu/rtc_video_decoder.cc
diff --git a/content/renderer/media/gpu/rtc_video_decoder.cc b/content/renderer/media/gpu/rtc_video_decoder.cc
index 929ab573190287b89f8bdc56b5fdab8f90fa2415..7f6323dc8fdb36f845c7faf7f80f3199f97bb374 100644
--- a/content/renderer/media/gpu/rtc_video_decoder.cc
+++ b/content/renderer/media/gpu/rtc_video_decoder.cc
@@ -739,7 +739,7 @@ void RTCVideoDecoder::CreateVDA(media::VideoCodecProfile profile,
DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent();
if (!IsProfileSupported(profile)) {
- DVLOG(1) << "Unsupported profile " << profile;
+ DVLOG(1) << "Unsupported profile " << GetProfileName(profile);
} else {
vda_ = factories_->CreateVideoDecodeAccelerator();
« no previous file with comments | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698