Delete redundant members from VCMPacket.
The values are available as part of the RTPVideoHeader member. Bug: None Change-Id: I832fffc449929badec3796d7096c9cdc0d43d344 Reviewed-on: https://webrtc-review.googlesource.com/c/123234 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26773}
This commit is contained in:
@ -39,7 +39,7 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
|
||||
|
||||
// EncodedFrame members
|
||||
frame_type_ = first_packet->frameType;
|
||||
codec_type_ = first_packet->codec;
|
||||
codec_type_ = first_packet->codec();
|
||||
|
||||
// TODO(philipel): Remove when encoded image is replaced by EncodedFrame.
|
||||
// VCMEncodedFrame members
|
||||
@ -57,15 +57,15 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
|
||||
AllocateBitstreamBuffer(frame_size);
|
||||
bool bitstream_copied = packet_buffer_->GetBitstream(*this, data());
|
||||
RTC_DCHECK(bitstream_copied);
|
||||
_encodedWidth = first_packet->width;
|
||||
_encodedHeight = first_packet->height;
|
||||
_encodedWidth = first_packet->width();
|
||||
_encodedHeight = first_packet->height();
|
||||
|
||||
// EncodedFrame members
|
||||
SetTimestamp(first_packet->timestamp);
|
||||
|
||||
VCMPacket* last_packet = packet_buffer_->GetPacket(last_seq_num);
|
||||
RTC_CHECK(last_packet);
|
||||
RTC_CHECK(last_packet->is_last_packet_in_frame);
|
||||
RTC_CHECK(last_packet->is_last_packet_in_frame());
|
||||
// http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/
|
||||
// ts_126114v120700p.pdf Section 7.4.5.
|
||||
// The MTSI client shall add the payload bytes as defined in this clause
|
||||
|
||||
Reference in New Issue
Block a user