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

Side by Side Diff: media/video/capture/video_capture_types.cc

Issue 541163002: Clarify resolution change behaviors of video capture devices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed build Created 6 years, 3 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 | Annotate | Revision Log
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/video/capture/video_capture_types.h" 5 #include "media/video/capture/video_capture_types.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/base/limits.h" 8 #include "media/base/limits.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 return "YV12"; 52 return "YV12";
53 case PIXEL_FORMAT_TEXTURE: 53 case PIXEL_FORMAT_TEXTURE:
54 return "TEXTURE"; 54 return "TEXTURE";
55 case PIXEL_FORMAT_MAX: 55 case PIXEL_FORMAT_MAX:
56 break; 56 break;
57 } 57 }
58 NOTREACHED() << "Invalid VideoPixelFormat provided: " << format; 58 NOTREACHED() << "Invalid VideoPixelFormat provided: " << format;
59 return ""; 59 return "";
60 } 60 }
61 61
62 VideoCaptureParams::VideoCaptureParams() : allow_resolution_change(false) {} 62 VideoCaptureParams::VideoCaptureParams()
63 63 : resolution_change_policy(RESOLUTION_POLICY_FIXED) {}
64 } // namespace media 64 } // namespace media
OLDNEW
« media/video/capture/video_capture_types.h ('K') | « media/video/capture/video_capture_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698