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

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

Issue 149443003: Add GetDeviceSupportedFormats to VideoCaptureDeviceMFWin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tommi@s nits and --force-mediafoundation extended to GetDeviceNames. 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.h
diff --git a/media/video/capture/win/video_capture_device_mf_win.h b/media/video/capture/win/video_capture_device_mf_win.h
index e0dfb8c416060061a2fc077e876c694c2c68f416..31a8f22400047bff072f93b646fd3ba5406d70d5 100644
--- a/media/video/capture/win/video_capture_device_mf_win.h
+++ b/media/video/capture/win/video_capture_device_mf_win.h
@@ -52,6 +52,9 @@ class MEDIA_EXPORT VideoCaptureDeviceMFWin
static void GetDeviceNames(Names* device_names);
+ static void GetDeviceSupportedFormats(const Name& device,
+ VideoCaptureFormats* formats);
+
// Captured a new video frame.
void OnIncomingCapturedFrame(const uint8* data,
int length,

Powered by Google App Engine
This is Rietveld 408576698