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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp

Issue 2664673002: Media Capture Depth Stream Extensions API: videoKind settings and constraint. (Closed)
Patch Set: GetVideoKindForFormat moved to utility. thanks guidou@. Created 3 years, 10 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: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
index 0e15d4b0cc0f7c752ecff359de9bad715ca55465..ee4f77113dd22175735791a0f9fdba5883557d4c 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
@@ -357,6 +357,7 @@ WebMediaTrackConstraintSet::WebMediaTrackConstraintSet()
deviceId("deviceId"),
disableLocalEcho("disableLocalEcho"),
groupId("groupId"),
+ videoKind("videoKind"),
depthNear("depthNear"),
depthFar("depthFar"),
focalLengthX("focalLengthX"),
@@ -417,6 +418,7 @@ std::vector<const BaseConstraint*> WebMediaTrackConstraintSet::allConstraints()
&channelCount,
&deviceId,
&groupId,
+ &videoKind,
&depthNear,
&depthFar,
&focalLengthX,

Powered by Google App Engine
This is Rietveld 408576698