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 "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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 return "YV12"; | 60 return "YV12"; |
61 case PIXEL_FORMAT_TEXTURE: | 61 case PIXEL_FORMAT_TEXTURE: |
62 return "TEXTURE"; | 62 return "TEXTURE"; |
63 case PIXEL_FORMAT_MAX: | 63 case PIXEL_FORMAT_MAX: |
64 break; | 64 break; |
65 } | 65 } |
66 NOTREACHED() << "Invalid VideoPixelFormat provided: " << format; | 66 NOTREACHED() << "Invalid VideoPixelFormat provided: " << format; |
67 return ""; | 67 return ""; |
68 } | 68 } |
69 | 69 |
70 VideoCaptureParams::VideoCaptureParams() : allow_resolution_change(false) {} | 70 VideoCaptureParams::VideoCaptureParams() |
71 | 71 : resolution_change_policy(RESOLUTION_POLICY_FIXED) {} |
72 } // namespace media | 72 } // namespace media |
OLD | NEW |