Chromium Code Reviews

Unified Diff: webrtc/modules/include/module_common_types.h

Issue 2466993003: H264SpsPpsTracker class which keep tracks of SPS/PPS. (Closed)
Patch Set: Feedback fixes. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/include/module_common_types.h
diff --git a/webrtc/modules/include/module_common_types.h b/webrtc/modules/include/module_common_types.h
index 4e431105966e22448c5c94b20a896e14221abe77..24067a3951ac08e53f1e0b614d40db4fa0019cc9 100644
--- a/webrtc/modules/include/module_common_types.h
+++ b/webrtc/modules/include/module_common_types.h
@@ -264,6 +264,10 @@ struct NaluInfo {
uint8_t type;
int sps_id;
int pps_id;
+
+ // Offset and size are only valid for non-FuA packets.
+ size_t offset;
+ size_t size;
};
const size_t kMaxNalusPerPacket = 10;

Powered by Google App Engine