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

Unified Diff: content/browser/media/capture/desktop_capture_device.cc

Issue 1124263004: New resolution change policies for desktop and tab capture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inlined operator==(). Created 5 years, 7 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/browser/media/capture/desktop_capture_device.cc
diff --git a/content/browser/media/capture/desktop_capture_device.cc b/content/browser/media/capture/desktop_capture_device.cc
index 410a224fcab39274b9d08dac420391fedf302c1f..a11e473e83cf6497e49952e5c594ad88a317100a 100644
--- a/content/browser/media/capture/desktop_capture_device.cc
+++ b/content/browser/media/capture/desktop_capture_device.cc
@@ -325,7 +325,7 @@ void DesktopCaptureDevice::Core::RefreshCaptureFormat(
if (previous_frame_size_.is_empty() ||
requested_params_.resolution_change_policy ==
- media::RESOLUTION_POLICY_DYNAMIC_WITHIN_LIMIT) {
+ media::RESOLUTION_POLICY_ANY_WITHIN_LIMIT) {
// If this is the first frame, or the receiver supports variable resolution
// then determine the output size by treating the requested width & height
// as maxima.

Powered by Google App Engine
This is Rietveld 408576698