Index: webrtc/modules/video_coding/frame_object.h |
diff --git a/webrtc/modules/video_coding/frame_object.h b/webrtc/modules/video_coding/frame_object.h |
index e8bb4811e6ecd7dd319f707852f4276df553f065..02d73428423a37176419a027b89a9475419b16a6 100644 |
--- a/webrtc/modules/video_coding/frame_object.h |
+++ b/webrtc/modules/video_coding/frame_object.h |
@@ -36,6 +36,8 @@ class FrameObject { |
size_t num_references; |
uint16_t references[kMaxFrameReferences]; |
bool inter_layer_predicted; |
+ |
+ size_t size; |
}; |
class PacketBuffer; |
@@ -44,11 +46,14 @@ class RtpFrameObject : public FrameObject { |
public: |
RtpFrameObject(PacketBuffer* packet_buffer, |
uint16_t first_seq_num, |
- uint16_t last_seq_num); |
+ uint16_t last_seq_num, |
+ size_t frame_size, |
+ int times_nacked); |
~RtpFrameObject(); |
uint16_t first_seq_num() const; |
uint16_t last_seq_num() const; |
+ int times_nacked() const; |
FrameType frame_type() const; |
VideoCodecType codec_type() const; |
bool GetBitstream(uint8_t* destination) const override; |
@@ -60,6 +65,10 @@ class RtpFrameObject : public FrameObject { |
VideoCodecType codec_type_; |
uint16_t first_seq_num_; |
uint16_t last_seq_num_; |
+ |
+ // Equal to times nacked of the packet with the highet times nacked |
+ // belonging to this frame. |
+ int times_nacked_; |
}; |
} // namespace video_coding |