DescriptionH264SpsPpsTracker class which keep tracks of SPS/PPS.
The H264SpsPpsTracker class:
- Keeps track of all received SPS/PPS.
- Decides whether a packet should be inserted into the PacketBuffer or not.
- Don't insert if this packet only contains SPS and/or PPS.
- Don't insert if this is the first packet of and IDR and we have not
received the required SPS/PPS.
- Insert start codes, and in the case of the first packet of an IDR prepend
the bitstream with the given SPS/PPS for this IDR.
BUG=webrtc:5514
Committed: https://crrev.com/34852cf7072fb7eb596da10dce7a80798c7e8743
Cr-Commit-Position: refs/heads/master@{#14906}
Patch Set 1 #Patch Set 2 #
Total comments: 13
Patch Set 3 : Feedback fixes. #
Total comments: 6
Patch Set 4 : Feedback fixes. #
Total comments: 4
Patch Set 5 : Check bounds before memcpy. #Patch Set 6 : Maybe Win fix? #Patch Set 7 : Win fix. #Patch Set 8 : Free copied data #
Messages
Total messages: 25 (13 generated)
|