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

Unified Diff: content/common/gpu/media/vaapi_video_encode_accelerator.cc

Issue 597473002: Change log level to show real errors in release mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 6 years, 2 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: content/common/gpu/media/vaapi_video_encode_accelerator.cc
diff --git a/content/common/gpu/media/vaapi_video_encode_accelerator.cc b/content/common/gpu/media/vaapi_video_encode_accelerator.cc
index 3475130b185355600a3e55fb38ba181ee42816b9..14ffe34355012f74e4ce4e72c13f24ae8b915b7a 100644
--- a/content/common/gpu/media/vaapi_video_encode_accelerator.cc
+++ b/content/common/gpu/media/vaapi_video_encode_accelerator.cc
@@ -20,8 +20,8 @@
#define NOTIFY_ERROR(error, msg) \
do { \
SetState(kError); \
- DVLOGF(1) << msg; \
- DVLOGF(1) << "Calling NotifyError(" << error << ")"; \
+ LOG(ERROR) << msg; \
+ LOG(ERROR) << "Calling NotifyError(" << error << ")";\
NotifyError(error); \
} while (0)
@@ -220,12 +220,12 @@ bool VaapiVideoEncodeAccelerator::Initialize(
x_display_,
base::Bind(&ReportToUMA, VAAPI_ERROR));
if (!vaapi_wrapper_) {
- DVLOGF(1) << "Failed initializing VAAPI";
+ LOG(ERROR) << "Failed initializing VAAPI";
return false;
}
if (!encoder_thread_.Start()) {
- DVLOGF(1) << "Failed to start encoder thread";
+ LOG(ERROR) << "Failed to start encoder thread";
return false;
}
encoder_thread_proxy_ = encoder_thread_.message_loop_proxy();
« no previous file with comments | « content/common/gpu/media/vaapi_video_decode_accelerator.cc ('k') | content/common/gpu/media/vaapi_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698