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

Side by Side Diff: media/base/video_capture_types.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/video_capture_types.h" 5 #include "media/base/video_capture_types.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "media/base/limits.h" 9 #include "media/base/limits.h"
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 case PIXEL_FORMAT_GPUMEMORYBUFFER: 101 case PIXEL_FORMAT_GPUMEMORYBUFFER:
102 return "GPUMEMORYBUFFER"; 102 return "GPUMEMORYBUFFER";
103 case PIXEL_FORMAT_MAX: 103 case PIXEL_FORMAT_MAX:
104 break; 104 break;
105 } 105 }
106 NOTREACHED() << "Invalid VideoPixelFormat provided: " << format; 106 NOTREACHED() << "Invalid VideoPixelFormat provided: " << format;
107 return ""; 107 return "";
108 } 108 }
109 109
110 VideoCaptureParams::VideoCaptureParams() 110 VideoCaptureParams::VideoCaptureParams()
111 : resolution_change_policy(RESOLUTION_POLICY_FIXED) {} 111 : resolution_change_policy(RESOLUTION_POLICY_FIXED_RESOLUTION) {}
112
112 } // namespace media 113 } // namespace media
OLDNEW
« media/base/video_capture_types.h ('K') | « media/base/video_capture_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698