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

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

Issue 8416055: Convert some non-debug logging on content/common to debug logging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/gpu_video_decode_accelerator.cc
===================================================================
--- content/common/gpu/media/gpu_video_decode_accelerator.cc (revision 107816)
+++ content/common/gpu/media/gpu_video_decode_accelerator.cc (working copy)
@@ -58,8 +58,8 @@
uint32 requested_num_of_buffers, const gfx::Size& dimensions) {
if (!Send(new AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers(
host_route_id_, requested_num_of_buffers, dimensions))) {
- LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers) "
- << "failed";
+ DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers) "
+ << "failed";
}
}
@@ -68,8 +68,8 @@
// Notify client that picture buffer is now unused.
if (!Send(new AcceleratedVideoDecoderHostMsg_DismissPictureBuffer(
host_route_id_, picture_buffer_id))) {
- LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer) "
- << "failed";
+ DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer) "
+ << "failed";
}
}
@@ -79,7 +79,7 @@
host_route_id_,
picture.picture_buffer_id(),
picture.bitstream_buffer_id()))) {
- LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_PictureReady) failed";
+ DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_PictureReady) failed";
}
}
@@ -98,8 +98,8 @@
}
if (!Send(new AcceleratedVideoDecoderHostMsg_ErrorNotification(
host_route_id_, error))) {
- LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ErrorNotification) "
- << "failed";
+ DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ErrorNotification) "
+ << "failed";
}
}
@@ -143,7 +143,7 @@
if (!command_decoder->GetServiceTextureId(
texture_ids[i], &service_texture_id)) {
// TODO(vrk): Send an error for invalid GLES buffers.
- LOG(DFATAL) << "Failed to translate texture!";
+ DLOG(DFATAL) << "Failed to translate texture!";
return;
}
buffers.push_back(media::PictureBuffer(
@@ -185,18 +185,18 @@
void GpuVideoDecodeAccelerator::NotifyInitializeDone() {
if (!Send(init_done_msg_))
- LOG(ERROR) << "Send(init_done_msg_) failed";
+ DLOG(ERROR) << "Send(init_done_msg_) failed";
init_done_msg_ = NULL;
}
void GpuVideoDecodeAccelerator::NotifyFlushDone() {
if (!Send(new AcceleratedVideoDecoderHostMsg_FlushDone(host_route_id_)))
- LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_FlushDone) failed";
+ DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_FlushDone) failed";
}
void GpuVideoDecodeAccelerator::NotifyResetDone() {
if (!Send(new AcceleratedVideoDecoderHostMsg_ResetDone(host_route_id_)))
- LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ResetDone) failed";
+ DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ResetDone) failed";
}
bool GpuVideoDecodeAccelerator::Send(IPC::Message* message) {

Powered by Google App Engine
This is Rietveld 408576698