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

Unified Diff: media/video/capture/video_capture_types.h

Issue 23551011: From Video Capture, abolish OnFrameInfo and enable resolution changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rework IPC serialization, VideoCaptureParams switch to composition, eliminate OnFrameInfo for PPAPI… Created 7 years, 2 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: media/video/capture/video_capture_types.h
diff --git a/media/video/capture/video_capture_types.h b/media/video/capture/video_capture_types.h
index 1a170aaf5e7d623b102f96020d5805d04aab1680..708898b5c58af67a211eaca2634db34b20d55d0c 100644
--- a/media/video/capture/video_capture_types.h
+++ b/media/video/capture/video_capture_types.h
@@ -51,15 +51,19 @@ class MEDIA_EXPORT VideoCaptureFormat {
VideoCaptureResolutionType frame_size_type;
};
-// Parameters for starting video capture and device information.
-class MEDIA_EXPORT VideoCaptureParams : public VideoCaptureFormat {
+// Parameters for starting video capture.
+class MEDIA_EXPORT VideoCaptureParams {
public:
VideoCaptureParams();
+ // Identifies which device is to be started.
VideoCaptureSessionId session_id;
+
+ // Requests a resolution and format at which the capture will occur.
+ VideoCaptureFormat requested_format;
};
-// Capabilities describe the format a camera capture video in.
+// Capabilities describe the format a camera captures video in.
class MEDIA_EXPORT VideoCaptureCapability : public VideoCaptureFormat {
public:
VideoCaptureCapability();

Powered by Google App Engine
This is Rietveld 408576698