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 02d73428423a37176419a027b89a9475419b16a6..b0d0d12e024fa88c21a5f6135ccd8c4c9bd5a18f 100644 |
--- a/webrtc/modules/video_coding/frame_object.h |
+++ b/webrtc/modules/video_coding/frame_object.h |
@@ -13,11 +13,12 @@ |
#include "webrtc/common_types.h" |
#include "webrtc/modules/include/module_common_types.h" |
+#include "webrtc/modules/video_coding/encoded_frame.h" |
namespace webrtc { |
namespace video_coding { |
-class FrameObject { |
+class FrameObject : public webrtc::VCMEncodedFrame { |
stefan-webrtc
2016/06/29 16:43:24
What do you think of the option of adding a constr
philipel
2016/06/30 09:34:15
Sounds reasonable but I don't think it makes much
|
public: |
static const uint8_t kMaxFrameReferences = 5; |
@@ -54,14 +55,14 @@ class RtpFrameObject : public FrameObject { |
uint16_t first_seq_num() const; |
uint16_t last_seq_num() const; |
int times_nacked() const; |
- FrameType frame_type() const; |
+ enum FrameType frame_type() const; |
VideoCodecType codec_type() const; |
bool GetBitstream(uint8_t* destination) const override; |
RTPVideoTypeHeader* GetCodecHeader() const; |
private: |
PacketBuffer* packet_buffer_; |
- FrameType frame_type_; |
+ enum FrameType frame_type_; |
VideoCodecType codec_type_; |
uint16_t first_seq_num_; |
uint16_t last_seq_num_; |