Index: content/renderer/media/rtc_video_capturer.h |
diff --git a/content/renderer/media/rtc_video_capturer.h b/content/renderer/media/rtc_video_capturer.h |
index 84d6c84d591d9fba26ec308e71a06f78703c0cc6..38ba64beb635217ee9267dab2348d5d1e2730ae7 100644 |
--- a/content/renderer/media/rtc_video_capturer.h |
+++ b/content/renderer/media/rtc_video_capturer.h |
@@ -41,8 +41,7 @@ class RtcVideoCapturer |
private: |
// Frame captured callback method. |
- virtual void OnFrameCaptured( |
- const media::VideoCapture::VideoFrameBuffer& frame); |
+ virtual void OnFrameCaptured(const scoped_refptr<media::VideoFrame>& frame); |
// State change callback, must be called on same thread as Start is called. |
void OnStateChange(RtcVideoCaptureDelegate::CaptureState state); |
@@ -50,7 +49,8 @@ class RtcVideoCapturer |
const bool is_screencast_; |
scoped_refptr<RtcVideoCaptureDelegate> delegate_; |
VideoCaptureState state_; |
- base::Time start_time_; |
+ bool first_frame_timestamp_valid_; |
+ base::TimeDelta first_frame_timestamp_; |
DISALLOW_COPY_AND_ASSIGN(RtcVideoCapturer); |
}; |