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

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

Issue 468833002: Mac QTKit Video Capture: Force BlackMagic cameras to be opened in HD (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/video_capture_device.h
diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h
index 3f953f8896282aea43ba17e5d79ed5e5bcaad16d..1edecc39c12c72dddcadef6efd41976d3cd89a7d 100644
--- a/media/video/capture/video_capture_device.h
+++ b/media/video/capture/video_capture_device.h
@@ -109,6 +109,12 @@ class MEDIA_EXPORT VideoCaptureDevice {
TransportType transport_type() const {
return transport_type_;
}
+ bool is_blacklisted() const {
+ return is_blacklisted_;
+ }
+ void set_is_blacklisted(bool is_blacklisted) {
+ is_blacklisted_ = is_blacklisted;
+ }
#endif // if defined(OS_WIN)
private:
@@ -134,6 +140,8 @@ class MEDIA_EXPORT VideoCaptureDevice {
#endif
#if defined(OS_MACOSX)
TransportType transport_type_;
+ // Flag used to mark blacklisted devices for QTKit Api.
+ bool is_blacklisted_;
#endif
// Allow generated copy constructor and assignment.
};

Powered by Google App Engine
This is Rietveld 408576698