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

Unified Diff: media/filters/frame_processor.h

Issue 1278193003: In-class-initialize LIMITED_MEDIA_LOG log counters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_518069
Patch Set: (Rebase and) Nix the enum->const cleanup from this CL Created 5 years, 4 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/audio_splicer.cc ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/frame_processor.h
diff --git a/media/filters/frame_processor.h b/media/filters/frame_processor.h
index ba7f23d1b106c058a03b96e0ac9e40e31667f511..fc6de696543df7a9d74ffc9ce6daa78cfd198fbd 100644
--- a/media/filters/frame_processor.h
+++ b/media/filters/frame_processor.h
@@ -153,7 +153,7 @@ class MEDIA_EXPORT FrameProcessor {
// Per http://www.w3.org/TR/media-source/#widl-SourceBuffer-mode:
// Controls how a sequence of media segments are handled. This is initially
// set to false ("segments").
- bool sequence_mode_;
+ bool sequence_mode_ = false;
// Tracks the MSE coded frame processing variable of same name.
// Initially kNoTimestamp(), meaning "unset".
@@ -171,8 +171,8 @@ class MEDIA_EXPORT FrameProcessor {
scoped_refptr<MediaLog> media_log_;
// Counters that limit spam to |media_log_| for frame processor warnings.
- int num_dropped_preroll_warnings_;
- int num_dts_beyond_pts_warnings_;
+ int num_dropped_preroll_warnings_ = 0;
+ int num_dts_beyond_pts_warnings_ = 0;
DISALLOW_COPY_AND_ASSIGN(FrameProcessor);
};
« no previous file with comments | « media/base/audio_splicer.cc ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698