| Index: webrtc/common_types.h
|
| diff --git a/webrtc/common_types.h b/webrtc/common_types.h
|
| index 24ba00a8450e4e9869c544f772c774105af0100c..e470b430fb59a78afdbd65a9b60e8a9e1b7abc89 100644
|
| --- a/webrtc/common_types.h
|
| +++ b/webrtc/common_types.h
|
| @@ -540,9 +540,18 @@ struct VideoCodecVP9 {
|
| };
|
|
|
| // H264 specific.
|
| +enum H264PacketizationMode {
|
| + // Because VideoCodecH264 was initialized in multiple places using memset,
|
| + // we let 0 have the meaning of "not set".
|
| + kH264PacketizationModeNotSet = 0,
|
| + kH264PacketizationMode0, // Only single NALU allowed
|
| + kH264PacketizationMode1 // Non-interleaved - STAP-A, FU-A is allowed
|
| +};
|
| +
|
| struct VideoCodecH264 {
|
| bool frameDroppingOn;
|
| int keyFrameInterval;
|
| + H264PacketizationMode packetization_mode;
|
| // These are NULL/0 if not externally negotiated.
|
| const uint8_t* spsData;
|
| size_t spsLen;
|
|
|