Index: content/browser/renderer_host/media/video_capture_controller.cc |
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc |
index ec20aa05f04d15f662c7042b303989a8dfc64d4c..0eae4e752e772e9a0683e2744b0a1589f77056a1 100644 |
--- a/content/browser/renderer_host/media/video_capture_controller.cc |
+++ b/content/browser/renderer_host/media/video_capture_controller.cc |
@@ -471,6 +471,15 @@ void VideoCaptureController::OnStarted() { |
} |
} |
+void VideoCaptureController::OnStartedUsingGpuDecode() { |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
+ for (const auto& client : controller_clients_) { |
+ if (client->session_closed) |
+ continue; |
+ client->event_handler->OnStartedUsingGpuDecode(client->controller_id); |
+ } |
+} |
mcasas
2017/03/08 01:33:17
This code looks a lot like l.452-455 and l.467-470
chfremer
2017/03/08 18:58:08
Without saying anything about whether or not it is
|
+ |
VideoCaptureController::ControllerClient* VideoCaptureController::FindClient( |
VideoCaptureControllerID id, |
VideoCaptureControllerEventHandler* handler, |