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

Unified Diff: webrtc/common_types.h

Issue 2337453002: H.264 packetization mode 0 (try 2) (Closed)
Patch Set: Working H.264 test where packetization mode 0 is set Created 4 years, 2 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 c3e9a84c3cc729b5cb3e1b1287731cc102aa3ba0..53446203e332bda12d795cbd296af1b114487d90 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -542,10 +542,17 @@ struct VideoCodecVP9 {
};
// H264 specific.
+enum H264PacketizationMode {
+ kH264PacketizationModeNotSet,
hbos 2016/10/31 10:32:26 Is this ever set? This enum is used in constructor
hta-webrtc 2016/10/31 15:03:04 Good point about being explicit that it is 0. The
+ kH264PacketizationMode0, // Only single NALU allowed
+ kH264PacketizationMode1 // Non-interleaved - STAP-A, FU-A is allowed
+};
+
struct VideoCodecH264 {
VideoCodecProfile profile;
bool frameDroppingOn;
int keyFrameInterval;
+ H264PacketizationMode packetization_mode;
magjed_webrtc 2016/10/31 13:00:50 Since the packetization mode information is includ
hta-webrtc 2016/10/31 20:54:52 Now I'm somewhat confused..... what code path can
magjed_webrtc 2016/11/01 19:23:38 To clarify, I don't think we need to add packetiza
// These are NULL/0 if not externally negotiated.
const uint8_t* spsData;
size_t spsLen;
« no previous file with comments | « no previous file | webrtc/modules/include/module_common_types.h » ('j') | webrtc/modules/rtp_rtcp/source/rtp_format_h264.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698