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

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: fixes from bbudge 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
« no previous file with comments | « media/video/capture/video_capture_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 003dc4e998bf3d7635ba2a5104c186189e68b0e1..8facdd97947dd2436c3259a74adea294cc03b40a 100644
--- a/media/video/capture/video_capture_types.h
+++ b/media/video/capture/video_capture_types.h
@@ -51,15 +51,18 @@ 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();
- // TODO(mcasas): http://crbug.com/297597, investigate if session_id is in use.
+ // 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();
« no previous file with comments | « media/video/capture/video_capture_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698