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

Unified Diff: content/browser/renderer_host/media/video_capture_controller.cc

Issue 24079003: Add VideoCaptureDevice::GetDeviceSupportedFormats to interface + implementation for Linux and Fake (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed inexistent video_capture_device_dummy; also removed from media.gyp targets. Created 7 years, 3 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
« no previous file with comments | « no previous file | media/media.gyp » ('j') | media/video/capture/fake_video_capture_device.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 687a21a49963ba46feb269e744d9b059dbfae62b..79eb09906bd65f6854995bf4e5df13586d20be3e 100644
--- a/content/browser/renderer_host/media/video_capture_controller.cc
+++ b/content/browser/renderer_host/media/video_capture_controller.cc
@@ -124,6 +124,8 @@ class VideoCaptureController::VideoCaptureDeviceClient
const media::VideoCaptureCapability& info) OVERRIDE;
virtual void OnFrameInfoChanged(
const media::VideoCaptureCapability& info) OVERRIDE;
+ virtual void OnDeviceSupportedFormatsEnumerated(
+ const media::VideoCaptureFormats& formats) OVERRIDE;
private:
// The controller to which we post events.
@@ -677,6 +679,12 @@ void VideoCaptureController::VideoCaptureDeviceClient::OnFrameInfoChanged(
controller_, info));
}
+void VideoCaptureController::VideoCaptureDeviceClient::
+ OnDeviceSupportedFormatsEnumerated(
+ const media::VideoCaptureFormats& formats) {
+ NOTIMPLEMENTED();
+}
+
VideoCaptureController::~VideoCaptureController() {
buffer_pool_ = NULL; // Release all buffers.
STLDeleteContainerPointers(controller_clients_.begin(),
« no previous file with comments | « no previous file | media/media.gyp » ('j') | media/video/capture/fake_video_capture_device.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698