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

Unified Diff: media/base/android/media_codec_player.cc

Issue 1325153005: More logs to debug AVPrerollVideoEndsWhilePrerolling on bot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « media/base/android/media_codec_player.h ('k') | media/base/android/media_codec_player_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_player.cc
diff --git a/media/base/android/media_codec_player.cc b/media/base/android/media_codec_player.cc
index 1d903dbebd2da4a72e9f852e482eefa58599ff9d..ff5d7205abe25dfaf935e3b4360c74a119cc02fb 100644
--- a/media/base/android/media_codec_player.cc
+++ b/media/base/android/media_codec_player.cc
@@ -531,6 +531,16 @@ bool MediaCodecPlayer::IsPrerollingForTests(DemuxerStream::Type type) const {
return false;
}
+// http://crbug.com/526755
+void MediaCodecPlayer::SetVerboseForTests(bool value) {
+ DCHECK(ui_task_runner_->BelongsToCurrentThread());
+
+ if (audio_decoder_)
+ audio_decoder_->SetVerboseForTests(value);
+ if (video_decoder_)
+ video_decoder_->SetVerboseForTests(value);
+}
+
// Events from Player, called on UI thread
void MediaCodecPlayer::OnMediaMetadataChanged(base::TimeDelta duration,
« no previous file with comments | « media/base/android/media_codec_player.h ('k') | media/base/android/media_codec_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698