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

Unified Diff: trunk/src/media/video/capture/android/video_capture_device_android.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/android/video_capture_device_android.h
===================================================================
--- trunk/src/media/video/capture/android/video_capture_device_android.h (revision 236934)
+++ trunk/src/media/video/capture/android/video_capture_device_android.h (working copy)
@@ -29,8 +29,9 @@
static bool RegisterVideoCaptureDevice(JNIEnv* env);
// VideoCaptureDevice implementation.
- virtual void AllocateAndStart(const VideoCaptureParams& params,
- scoped_ptr<Client> client) OVERRIDE;
+ virtual void AllocateAndStart(
+ const VideoCaptureCapability& capture_format,
+ scoped_ptr<Client> client) OVERRIDE;
virtual void StopAndDeAllocate() OVERRIDE;
// Implement org.chromium.media.VideoCapture.nativeOnFrameAvailable.
@@ -72,7 +73,7 @@
scoped_ptr<VideoCaptureDevice::Client> client_;
Name device_name_;
- VideoCaptureFormat capture_format_;
+ VideoCaptureCapability current_settings_;
// Java VideoCaptureAndroid instance.
base::android::ScopedJavaGlobalRef<jobject> j_capture_;

Powered by Google App Engine
This is Rietveld 408576698