Index: webrtc/common_types.h |
diff --git a/webrtc/common_types.h b/webrtc/common_types.h |
index 4128f13ffa5bb16bd22adbd4a3a57d536e98e07e..3a0d6d8cc544ff4c608e34a8fd04facb2aa59fa8 100644 |
--- a/webrtc/common_types.h |
+++ b/webrtc/common_types.h |
@@ -548,6 +548,19 @@ struct VideoCodecVP9 { |
bool flexibleMode; |
}; |
+// TODO(magjed): Move this and other H264 related classes out to their own file. |
+namespace H264 { |
+ |
+enum Profile { |
+ kProfileConstrainedBaseline, |
+ kProfileBaseline, |
+ kProfileMain, |
+ kProfileConstrainedHigh, |
+ kProfileHigh, |
+}; |
+ |
+} // namespace H264 |
+ |
// H264 specific. |
struct VideoCodecH264 { |
bool frameDroppingOn; |
@@ -557,6 +570,7 @@ struct VideoCodecH264 { |
size_t spsLen; |
const uint8_t* ppsData; |
size_t ppsLen; |
+ H264::Profile profile; |
}; |
// Video codec types |