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 a63ae996b8dff1331500954110a6f7dd9b3ea121..f8c4e851ec67cc4ed4472d8904be52722b51f607 100644 |
--- a/webrtc/modules/video_coding/frame_object.h |
+++ b/webrtc/modules/video_coding/frame_object.h |
@@ -25,8 +25,6 @@ class FrameObject : public webrtc::VCMEncodedFrame { |
FrameObject(); |
virtual ~FrameObject() {} |
- virtual bool GetBitstream(uint8_t* destination) const = 0; |
- |
// The capture timestamp of this frame. |
virtual uint32_t Timestamp() const = 0; |
@@ -36,6 +34,7 @@ class FrameObject : public webrtc::VCMEncodedFrame { |
// When this frame should be rendered. |
virtual int64_t RenderTime() const = 0; |
+ size_t size() { return _size; } |
// The tuple (|picture_id|, |spatial_layer|) uniquely identifies a frame |
// object. For codec types that don't necessarily have picture ids they |
@@ -47,8 +46,6 @@ class FrameObject : public webrtc::VCMEncodedFrame { |
size_t num_references; |
uint16_t references[kMaxFrameReferences]; |
bool inter_layer_predicted; |
- |
- size_t size; |
}; |
class PacketBuffer; |
@@ -68,7 +65,6 @@ class RtpFrameObject : public FrameObject { |
int times_nacked() const; |
enum FrameType frame_type() const; |
VideoCodecType codec_type() const; |
- bool GetBitstream(uint8_t* destination) const override; |
uint32_t Timestamp() const override; |
int64_t ReceivedTime() const override; |
int64_t RenderTime() const override; |