OLD | NEW |
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 Loading... |
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 |
OLD | NEW |