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

Unified Diff: media/mojo/clients/mojo_audio_decoder.cc

Issue 2654943002: media: Add logs in MojoAudioDecoder::Initialize() (Closed)
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_audio_decoder.cc
diff --git a/media/mojo/clients/mojo_audio_decoder.cc b/media/mojo/clients/mojo_audio_decoder.cc
index 03b69138b2653aafde9a82c57649eb4b5e0750e8..d4575c22ef70d6ae2f6b98604f244a315ab5cb10 100644
--- a/media/mojo/clients/mojo_audio_decoder.cc
+++ b/media/mojo/clients/mojo_audio_decoder.cc
@@ -48,6 +48,7 @@ void MojoAudioDecoder::Initialize(const AudioDecoderConfig& config,
// This could happen during reinitialization.
if (remote_decoder_.encountered_error()) {
+ DVLOG(1) << __func__ << ": Connection error happened.";
task_runner_->PostTask(FROM_HERE, base::Bind(init_cb, false));
return;
}
@@ -58,6 +59,7 @@ void MojoAudioDecoder::Initialize(const AudioDecoderConfig& config,
: CdmContext::kInvalidCdmId;
if (config.is_encrypted() && CdmContext::kInvalidCdmId == cdm_id) {
+ DVLOG(1) << __func__ << ": Invalid CdmContext.";
task_runner_->PostTask(FROM_HERE, base::Bind(init_cb, false));
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698