Index: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
index d477991e7370be79cc17fd1505c67e3c2c51ab8d..3d33ea6b8e2d4f342767dd34eb3777232667bb89 100644 |
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
@@ -82,7 +82,9 @@ |
const char* stage); |
// Processes one frame received from AcquireNextFrame function, returns a |
- // nullptr if anything wrong. |
+ // nullptr if anything wrong, and Capture function will call |
+ // callback_->OnCaptureCompleted(nullptr), otherwise |
+ // callback_->OnCaptureCompleted(frame) will be called. |
std::unique_ptr<DesktopFrame> ProcessFrame( |
const DXGI_OUTDUPL_FRAME_INFO& frame_info, |
IDXGIResource* resource); |