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: media/base/android/media_codec_decoder.h

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 | « no previous file | media/base/android/media_codec_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_decoder.h
diff --git a/media/base/android/media_codec_decoder.h b/media/base/android/media_codec_decoder.h
index c47d922657a0c55ee1f8e37cdfb2d2db89c7b04c..5bc60215ac6a19c3c277f68c2c5814426e473809 100644
--- a/media/base/android/media_codec_decoder.h
+++ b/media/base/android/media_codec_decoder.h
@@ -243,6 +243,9 @@ class MediaCodecDecoder {
// Sets the notification to be called when MediaCodec is created.
void SetCodecCreatedCallbackForTests(base::Closure cb);
+ // Turn on and off extra logging with elevated log level.
+ void SetVerboseForTests(bool value);
+
protected:
enum RenderMode {
kRenderSkip = 0,
@@ -326,6 +329,9 @@ class MediaCodecDecoder {
// For tests only. Forces to always reconfigure for |kConfigChanged| unit.
bool always_reconfigure_for_tests_;
+ // For tests only. Enables more logging output.
+ bool verbose_;
+
// For tests only. Callback to be callned when MediaCodec is created.
base::Closure codec_created_for_tests_cb_;
« no previous file with comments | « no previous file | media/base/android/media_codec_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698