OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef WebVideoConfiguration_h | 5 #ifndef WebVideoConfiguration_h |
6 #define WebVideoConfiguration_h | 6 #define WebVideoConfiguration_h |
7 | 7 |
8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 // Represents a VideoConfiguration dictionary to be used outside of Blink. | 12 // Represents a VideoConfiguration dictionary to be used outside of Blink. |
13 // It is created by Blink and passed to consumers that can assume that all | 13 // It is created by Blink and passed to consumers that can assume that all |
14 // required fields are properly set. | 14 // required fields are properly set. |
15 struct WebVideoConfiguration { | 15 struct WebVideoConfiguration { |
16 WebString content_type; | 16 WebString mime_type; |
| 17 WebString codec; |
17 unsigned width; | 18 unsigned width; |
18 unsigned height; | 19 unsigned height; |
19 unsigned bitrate; | 20 unsigned bitrate; |
20 double framerate; | 21 double framerate; |
21 }; | 22 }; |
22 | 23 |
23 } // namespace blink | 24 } // namespace blink |
24 | 25 |
25 #endif // WebVideoConfiguration_h | 26 #endif // WebVideoConfiguration_h |
OLD | NEW |