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:
@ -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.
|
||||
|
@ -30,6 +30,8 @@ VCMEncodedFrame::VCMEncodedFrame()
|
||||
_codecSpecificInfo.codecType = kVideoCodecGeneric;
|
||||
}
|
||||
|
||||
VCMEncodedFrame::VCMEncodedFrame(const VCMEncodedFrame&) = default;
|
||||
|
||||
VCMEncodedFrame::~VCMEncodedFrame() {
|
||||
Reset();
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ namespace webrtc {
|
||||
class VCMEncodedFrame : protected EncodedImage {
|
||||
public:
|
||||
VCMEncodedFrame();
|
||||
VCMEncodedFrame(const VCMEncodedFrame&) = delete;
|
||||
VCMEncodedFrame(const VCMEncodedFrame&);
|
||||
|
||||
~VCMEncodedFrame();
|
||||
/**
|
||||
|
Reference in New Issue
Block a user