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

Unified Diff: content/renderer/media/rtc_video_capturer.h

Issue 23587018: Replace media::VideoCapture::VideoFrameBuffer with media::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: 6ccf4fd6 Final. Created 7 years, 3 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 | « content/renderer/media/rtc_video_capture_delegate.cc ('k') | content/renderer/media/rtc_video_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..006efdf647f079fb48c8adad6e0c3ab0334f410d 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,7 @@ class RtcVideoCapturer
const bool is_screencast_;
scoped_refptr<RtcVideoCaptureDelegate> delegate_;
VideoCaptureState state_;
- base::Time start_time_;
+ base::TimeDelta first_frame_timestamp_;
DISALLOW_COPY_AND_ASSIGN(RtcVideoCapturer);
};
« no previous file with comments | « content/renderer/media/rtc_video_capture_delegate.cc ('k') | content/renderer/media/rtc_video_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698