Added video_coding::EncodedFrame copy ctor.

Bug: none
Change-Id: I45272e81509741dc022d613758466ad0f8de7a31
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/143160
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28333}
This commit is contained in:
philipel
2019-06-20 11:13:03 +02:00
committed by Commit Bot
parent f00bf42d1c
commit 6c42d92ccc
3 changed files with 4 additions and 1 deletions

View File

@ -57,6 +57,7 @@ class EncodedFrame : public webrtc::VCMEncodedFrame {
static const uint8_t kMaxFrameReferences = 5;
EncodedFrame() = default;
EncodedFrame(const EncodedFrame&) = default;
virtual ~EncodedFrame() {}
// When this frame was received.

View File

@ -30,6 +30,8 @@ VCMEncodedFrame::VCMEncodedFrame()
_codecSpecificInfo.codecType = kVideoCodecGeneric;
}
VCMEncodedFrame::VCMEncodedFrame(const VCMEncodedFrame&) = default;
VCMEncodedFrame::~VCMEncodedFrame() {
Reset();
}

View File

@ -23,7 +23,7 @@ namespace webrtc {
class VCMEncodedFrame : protected EncodedImage {
public:
VCMEncodedFrame();
VCMEncodedFrame(const VCMEncodedFrame&) = delete;
VCMEncodedFrame(const VCMEncodedFrame&);
~VCMEncodedFrame();
/**