Index: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h |
index 0bf06ac4042dede66d3c6c64afce4436a901a2d1..0ac3b4ea545b75ff799756dc139d2512dfdbf67f 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h |
@@ -57,12 +57,19 @@ class H264EncoderImpl : public H264Encoder { |
private: |
bool IsInitialized() const; |
+ // Reports statistics with histograms. |
+ void ReportInit(); |
+ void ReportError(); |
+ |
ISVCEncoder* openh264_encoder_; |
VideoCodec codec_settings_; |
EncodedImage encoded_image_; |
rtc::scoped_ptr<uint8_t[]> encoded_image_buffer_; |
EncodedImageCallback* encoded_image_callback_; |
+ |
+ bool has_reported_init_; |
+ bool has_reported_error_; |
}; |
} // namespace webrtc |