Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: webrtc/common_types.h

Issue 2772033002: Add content type information to encoded images and corresponding rtp extension header (Closed)
Patch Set: Fix Mac CE Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
+ bool hasVideoContentType;
+ VideoContentType videoContentType;
+
PlayoutDelay playout_delay = {-1, -1};
};

Powered by Google App Engine
This is Rietveld 408576698