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

Unified Diff: media/video/capture/win/video_capture_device_mf_win.cc

Issue 83793004: Implement IPCs and VideoCapture::Client interfaces for texture capture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 5744a8bbb Nits. Created 6 years, 11 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/win/video_capture_device_mf_win.cc
diff --git a/media/video/capture/win/video_capture_device_mf_win.cc b/media/video/capture/win/video_capture_device_mf_win.cc
index f4007fab81283da8033f5668ad8e9e6a6db2813d..ac5b3285035209ac1e5453c1cf62d0bb63a7526b 100644
--- a/media/video/capture/win/video_capture_device_mf_win.cc
+++ b/media/video/capture/win/video_capture_device_mf_win.cc
@@ -206,7 +206,7 @@ class MFReaderCallback
DWORD stream_flags, LONGLONG time_stamp, IMFSample* sample) {
base::TimeTicks stamp(base::TimeTicks::Now());
if (!sample) {
- observer_->OnIncomingCapturedFrame(NULL, 0, stamp, 0);
+ observer_->OnIncomingCapturedFrame(NULL, 0, 0, stamp);
return S_OK;
}
@@ -220,7 +220,7 @@ class MFReaderCallback
DWORD length = 0, max_length = 0;
BYTE* data = NULL;
buffer->Lock(&data, &max_length, &length);
- observer_->OnIncomingCapturedFrame(data, length, stamp, 0);
+ observer_->OnIncomingCapturedFrame(data, length, 0, stamp);
buffer->Unlock();
}
}

Powered by Google App Engine
This is Rietveld 408576698