Reland of Fix off-by-one bugs in video_coding::PacketBuffer when the buffer is filled with a single frame. (patchset #1 id:1 of https://codereview.chromium.org/2990183002/ )
Reason for revert: Revert to create fix CL. Original issue's description: > Revert of Fix off-by-one bugs in video_coding::PacketBuffer when the buffer is filled with a single frame. (patchset #5 id:80001 of https://codereview.chromium.org/2993513002/ ) > > Reason for revert: > Break performance bots. > > Original issue's description: > > Fix off-by-one bugs in video_coding::PacketBuffer when the buffer is filled with a single frame. > > > > BUG=webrtc:8028 > > > > Review-Url: https://codereview.webrtc.org/2993513002 > > Cr-Commit-Position: refs/heads/master@{#19209} > > Committed:ee13e8919c> > TBR=stefan@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:8028 > > Review-Url: https://codereview.webrtc.org/2990183002 > Cr-Commit-Position: refs/heads/master@{#19211} > Committed:c18f1d7c94TBR=stefan@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:8028 TBR=stefan@webrtc.org Review-Url: https://codereview.webrtc.org/2989313003 Cr-Commit-Position: refs/heads/master@{#19249}
This commit is contained in:
@ -93,7 +93,8 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
|
||||
frame_type_ = first_packet->frameType;
|
||||
}
|
||||
|
||||
GetBitstream(_buffer);
|
||||
bool bitstream_copied = GetBitstream(_buffer);
|
||||
RTC_DCHECK(bitstream_copied);
|
||||
_encodedWidth = first_packet->width;
|
||||
_encodedHeight = first_packet->height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user