Chromium Code Reviews| Index: webrtc/common_types.h |
| diff --git a/webrtc/common_types.h b/webrtc/common_types.h |
| index e1a4c77d37adf184bb43b0fd87070d635f54d917..03785c164dfe3c29ac0508b1278dc5ffb65c9133 100644 |
| --- a/webrtc/common_types.h |
| +++ b/webrtc/common_types.h |
| @@ -19,6 +19,7 @@ |
| #include <vector> |
| #include "webrtc/api/video/video_rotation.h" |
| +#include "webrtc/api/video/video_content_type.h" |
| #include "webrtc/base/checks.h" |
| #include "webrtc/base/optional.h" |
| #include "webrtc/typedefs.h" |
| @@ -716,6 +717,11 @@ struct RTPHeaderExtension { |
| bool hasVideoRotation; |
| VideoRotation videoRotation; |
| + // TODO(ilnik): Refactor this and one above to be rtc::Optional() and remove |
| + // a corresponding bool flag. |
|
nisse-webrtc
2017/04/03 12:07:18
Can you do that in this cl? Should be an easy clea
ilnik
2017/04/03 14:03:42
The rotation is set up as a 0 if not present while
|
| + bool hasVideoContentType; |
| + VideoContentType videoContentType; |
| + |
| PlayoutDelay playout_delay = {-1, -1}; |
| }; |