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

Unified Diff: media/video/capture/android/video_capture_device_android.cc

Issue 83793004: Implement IPCs and VideoCapture::Client interfaces for texture capture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 16cf3941 Rebase, comment. Created 6 years, 10 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/android/video_capture_device_android.cc
diff --git a/media/video/capture/android/video_capture_device_android.cc b/media/video/capture/android/video_capture_device_android.cc
index d8b3796155dd7d087fc45511e9d1ad348da116eb..d2891ce066576ea92ff74203dafba014c7070879 100644
--- a/media/video/capture/android/video_capture_device_android.cc
+++ b/media/video/capture/android/video_capture_device_android.cc
@@ -222,11 +222,11 @@ void VideoCaptureDeviceAndroid::OnFrameAvailable(
if (expected_next_frame_time_ <= current_time) {
expected_next_frame_time_ += frame_interval_;
- client_->OnIncomingCapturedFrame(reinterpret_cast<uint8*>(buffer),
- length,
- base::TimeTicks::Now(),
- rotation,
- capture_format_);
+ client_->OnIncomingCapturedData(reinterpret_cast<uint8*>(buffer),
+ length,
+ capture_format_,
+ rotation,
+ base::TimeTicks::Now());
}
env->ReleaseByteArrayElements(data, buffer, JNI_ABORT);

Powered by Google App Engine
This is Rietveld 408576698