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

Unified Diff: media/filters/source_buffer_stream.h

Issue 1236543007: MSE: Log buffered audio splice generation to media-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS2 Created 5 years, 5 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/filters/source_buffer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_stream.h
diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h
index b4063602c8745da415735db688457f1a9c6b20a7..87794ee8e242dfaf4f7732bc8d0188d0f5a72873 100644
--- a/media/filters/source_buffer_stream.h
+++ b/media/filters/source_buffer_stream.h
@@ -419,6 +419,11 @@ class MEDIA_EXPORT SourceBufferStream {
// Indicates that splice frame generation is enabled.
const bool splice_frames_enabled_;
+ // To prevent log spam, count the number of splice generation warnings and
+ // successes logged.
+ int num_splice_generation_warning_logs_;
+ int num_splice_generation_success_logs_;
+
DISALLOW_COPY_AND_ASSIGN(SourceBufferStream);
};
« no previous file with comments | « no previous file | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698