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

Unified Diff: content/renderer/pepper/pepper_platform_video_capture.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
Index: content/renderer/pepper/pepper_platform_video_capture.h
diff --git a/content/renderer/pepper/pepper_platform_video_capture.h b/content/renderer/pepper/pepper_platform_video_capture.h
index dca9fcaa27a514f9e45e1fae4836376ad40b1b42..5ecde2e73de6224d371e561f00cf59b0ae6b58eb 100644
--- a/content/renderer/pepper/pepper_platform_video_capture.h
+++ b/content/renderer/pepper/pepper_platform_video_capture.h
@@ -44,7 +44,6 @@ class PepperPlatformVideoCapture
media::VideoCapture::EventHandler* handler,
const media::VideoCaptureCapability& capability) OVERRIDE;
virtual void StopCapture(media::VideoCapture::EventHandler* handler) OVERRIDE;
- virtual void FeedBuffer(scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE;
virtual bool CaptureStarted() OVERRIDE;
virtual int CaptureWidth() OVERRIDE;
virtual int CaptureHeight() OVERRIDE;
@@ -56,8 +55,9 @@ class PepperPlatformVideoCapture
virtual void OnPaused(VideoCapture* capture) OVERRIDE;
virtual void OnError(VideoCapture* capture, int error_code) OVERRIDE;
virtual void OnRemoved(VideoCapture* capture) OVERRIDE;
- virtual void OnBufferReady(VideoCapture* capture,
- scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE;
+ virtual void OnFrameReady(
+ VideoCapture* capture,
+ const scoped_refptr<media::VideoFrame>& frame) OVERRIDE;
virtual void OnDeviceInfoReceived(
VideoCapture* capture,
const media::VideoCaptureParams& device_info) OVERRIDE;
« no previous file with comments | « content/renderer/media/video_capture_message_filter.h ('k') | content/renderer/pepper/pepper_platform_video_capture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698