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

Unified Diff: trunk/src/media/video/capture/mac/video_capture_device_mac.h

Issue 84393002: Revert 236927 "Reorganize media::VideoCapture* types" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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: trunk/src/media/video/capture/mac/video_capture_device_mac.h
===================================================================
--- trunk/src/media/video/capture/mac/video_capture_device_mac.h (revision 236934)
+++ trunk/src/media/video/capture/mac/video_capture_device_mac.h (working copy)
@@ -30,9 +30,9 @@
virtual ~VideoCaptureDeviceMac();
// VideoCaptureDevice implementation.
- virtual void AllocateAndStart(const VideoCaptureParams& params,
- scoped_ptr<VideoCaptureDevice::Client> client)
- OVERRIDE;
+ virtual void AllocateAndStart(
+ const VideoCaptureCapability& capture_format,
+ scoped_ptr<VideoCaptureDevice::Client> client) OVERRIDE;
virtual void StopAndDeAllocate() OVERRIDE;
bool Init();
@@ -40,7 +40,7 @@
// Called to deliver captured video frames.
void ReceiveFrame(const uint8* video_frame,
int video_frame_length,
- const VideoCaptureFormat& frame_format,
+ const VideoCaptureCapability& frame_info,
int aspect_numerator,
int aspect_denominator);
@@ -61,7 +61,7 @@
Name device_name_;
scoped_ptr<VideoCaptureDevice::Client> client_;
- VideoCaptureFormat capture_format_;
+ VideoCaptureCapability current_settings_;
bool sent_frame_info_;
bool tried_to_square_pixels_;

Powered by Google App Engine
This is Rietveld 408576698