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

Unified Diff: media/video/capture/fake_video_capture_device.h

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
Index: media/video/capture/fake_video_capture_device.h
diff --git a/media/video/capture/fake_video_capture_device.h b/media/video/capture/fake_video_capture_device.h
index e8ab25567f78e343d0cf30be50139ebdc9efdb4c..4b886f46101681d6c263d24f18612478080f64de 100644
--- a/media/video/capture/fake_video_capture_device.h
+++ b/media/video/capture/fake_video_capture_device.h
@@ -33,6 +33,10 @@ class MEDIA_EXPORT FakeVideoCaptureDevice : public VideoCaptureDevice1 {
virtual void Stop() OVERRIDE;
virtual void DeAllocate() OVERRIDE;
virtual const Name& device_name() OVERRIDE;
+ virtual void GetDeviceSupportedFormats(
+ scoped_ptr<EventHandler> client) OVERRIDE;
+
+ int GetFrameRate() const;
perkj_chrome 2013/09/25 07:58:41 What is GetFrameRate and why? Make private or just
mcasas 2013/10/02 08:13:23 Calculates the frame rate of the fake device. We n
private:
// Flag indicating the internal state.

Powered by Google App Engine
This is Rietveld 408576698