Make GetBitstream non-virtual since it is no longer needed for testing.
Bug: webrtc:10979 Change-Id: Id313c7fddbec40b9f19dae95f736379b872e3082 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153663 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29242}
This commit is contained in:
parent
40de3cc5ef
commit
f0be5b5380
@ -114,8 +114,7 @@ class PacketBuffer {
|
|||||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
||||||
|
|
||||||
// Copy the bitstream for |frame| to |destination|.
|
// Copy the bitstream for |frame| to |destination|.
|
||||||
// Virtual for testing.
|
bool GetBitstream(const RtpFrameObject& frame, uint8_t* destination);
|
||||||
virtual bool GetBitstream(const RtpFrameObject& frame, uint8_t* destination);
|
|
||||||
|
|
||||||
// Get the packet with sequence number |seq_num|.
|
// Get the packet with sequence number |seq_num|.
|
||||||
// Virtual for testing.
|
// Virtual for testing.
|
||||||
|
|||||||
@ -40,11 +40,6 @@ class FakePacketBuffer : public PacketBuffer {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GetBitstream(const RtpFrameObject& frame,
|
|
||||||
uint8_t* destination) override {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::map<uint16_t, VCMPacket> packets_;
|
std::map<uint16_t, VCMPacket> packets_;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -100,11 +100,6 @@ class FuzzyPacketBuffer : public video_coding::PacketBuffer {
|
|||||||
return packet;
|
return packet;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GetBitstream(const video_coding::RtpFrameObject& frame,
|
|
||||||
uint8_t* destination) override {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::map<uint16_t, VCMPacket> packets;
|
std::map<uint16_t, VCMPacket> packets;
|
||||||
VideoCodecType codec;
|
VideoCodecType codec;
|
||||||
|
|||||||
@ -41,11 +41,6 @@ class FakePacketBuffer : public video_coding::PacketBuffer {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GetBitstream(const video_coding::RtpFrameObject& frame,
|
|
||||||
uint8_t* destination) override {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::map<uint16_t, VCMPacket> packets_;
|
std::map<uint16_t, VCMPacket> packets_;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user