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

Unified Diff: content/renderer/media/video_track_adapter.h

Issue 2941563002: Enable new getUserMedia audio constraints algorithm behind a flag. (Closed)
Patch Set: remove vertical space from DEPS Created 3 years, 6 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: content/renderer/media/video_track_adapter.h
diff --git a/content/renderer/media/video_track_adapter.h b/content/renderer/media/video_track_adapter.h
index 01237e5ed2ae804a9b55f008e3a3e49a840b4e74..c37fe6e9c1171cbfd27600a72ef2ee5aecf1db34 100644
--- a/content/renderer/media/video_track_adapter.h
+++ b/content/renderer/media/video_track_adapter.h
@@ -34,6 +34,9 @@ struct CONTENT_EXPORT VideoTrackAdapterSettings {
int max_height;
double min_aspect_ratio;
double max_aspect_ratio;
+ // A |max_frame_rate| of zero is used to signal that no frame-rate adjustment
+ // is necessary.
+ // TODO(guidou): Change this to base::Optional. http://crbug.com/734528
double max_frame_rate;
// If supplied, this can be used to detect frames from a rotated device.
base::Optional<gfx::Size> expected_native_size;

Powered by Google App Engine
This is Rietveld 408576698