Renamed FrameObject to EncodedFrame.
The plan is to: 1. Move FrameObject to api/video. 2. Rename FrameObject to EncodedFrame. 3. Move EncodedFrame out of the video_coding namespace. This is the 2nd CL. Bug: webrtc:8909 Change-Id: I5e76a0a3b306156b8bc1de67834b4adf14bebef9 Reviewed-on: https://webrtc-review.googlesource.com/56182 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22158}
This commit is contained in:
@ -64,7 +64,7 @@ class TestRtpFrameReferenceFinder : public ::testing::Test,
|
||||
|
||||
uint16_t Rand() { return rand_.Rand<uint16_t>(); }
|
||||
|
||||
void OnCompleteFrame(std::unique_ptr<FrameObject> frame) override {
|
||||
void OnCompleteFrame(std::unique_ptr<EncodedFrame> frame) override {
|
||||
int64_t pid = frame->picture_id;
|
||||
uint16_t sidx = frame->spatial_layer;
|
||||
auto frame_it = frames_from_callback_.find(std::make_pair(pid, sidx));
|
||||
@ -260,8 +260,9 @@ class TestRtpFrameReferenceFinder : public ::testing::Test,
|
||||
return f1.first < f2.first;
|
||||
}
|
||||
};
|
||||
std::map<std::pair<int64_t, uint8_t>, std::unique_ptr<FrameObject>, FrameComp>
|
||||
frames_from_callback_;
|
||||
std::
|
||||
map<std::pair<int64_t, uint8_t>, std::unique_ptr<EncodedFrame>, FrameComp>
|
||||
frames_from_callback_;
|
||||
};
|
||||
|
||||
TEST_F(TestRtpFrameReferenceFinder, PaddingPackets) {
|
||||
|
Reference in New Issue
Block a user