Chromium Code Reviews| Index: webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc |
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc |
| index 27479458315de126fa3e551128a748b618a81714..b32e78ef9abee9f89e2f7a1ce742437af37468dc 100644 |
| --- a/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc |
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc |
| @@ -411,6 +411,8 @@ bool RtpDepacketizerH264::ProcessStapAOrSingleNalu( |
| NaluInfo nalu; |
| nalu.type = payload_data[start_offset] & kTypeMask; |
| + nalu.offset = start_offset; |
|
stefan-webrtc
2016/11/02 13:54:17
Should we set these for FuA too, or make clear the
philipel
2016/11/02 14:39:43
Done.
|
| + nalu.size = end_offset - start_offset; |
| nalu.sps_id = -1; |
| nalu.pps_id = -1; |
| start_offset += H264::kNaluTypeSize; |