Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Unified Diff: webrtc/modules/video_coding/frame_object.h

Issue 2110543005: FrameObject inherit from VCMEncodedFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « no previous file | webrtc/modules/video_coding/frame_object.cc » ('j') | webrtc/modules/video_coding/frame_object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698