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..c88955480edcd0fe1fea09e305ecbf4cdf3974c7 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h |
@@ -62,11 +62,18 @@ class H264DecoderImpl : public H264Decoder { |
bool IsInitialized() const; |
+ // Reports statistics with histograms. |
+ void ReportInit(); |
+ void ReportError(); |
+ |
I420BufferPool pool_; |
rtc::scoped_ptr<AVCodecContext, AVCodecContextDeleter> av_context_; |
rtc::scoped_ptr<AVFrame, AVFrameDeleter> av_frame_; |
DecodedImageCallback* decoded_image_callback_; |
+ |
+ bool has_reported_init_; |
+ bool has_reported_error_; |
}; |
} // namespace webrtc |