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

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 Pawel's review comments Created 6 years, 3 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 8cddcfb35054f7b69ac62d632aefe27358d6c090..42929803e9d9b3831e528936ee29dfa79fcab931 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)
@@ -222,12 +222,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();

Powered by Google App Engine
This is Rietveld 408576698