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

Unified Diff: webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h

Issue 1716173002: Histograms for H264EncoderImpl/H264DecoderImpl initialization and errors (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
Index: webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h b/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h
index e464ffbcddf457d9ac9d653d0450bd5480a1e0b5..442f4331edfe5290cf2c8556a7b72531a02079b1 100644
--- a/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h
+++ b/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h
@@ -62,6 +62,11 @@ class H264DecoderImpl : public H264Decoder {
bool IsInitialized() const;
+ bool has_reported_init_;
+ bool has_reported_error_;
+ void ReportInit();
hlundin-webrtc 2016/02/23 13:55:53 Methods should be declared before data members.
hbos 2016/02/23 14:43:26 Done.
+ void ReportError();
+
I420BufferPool pool_;
rtc::scoped_ptr<AVCodecContext, AVCodecContextDeleter> av_context_;
rtc::scoped_ptr<AVFrame, AVFrameDeleter> av_frame_;

Powered by Google App Engine
This is Rietveld 408576698