Moved FrameKey to api/video/encoded_frame.h and renamed it to VideoLayerFrameId.
Since we want the VideoStreamDecoder to callback with the last continuous frame we need to move the FrameKey into the public API. Bug: webrtc:8909 Change-Id: I39634145d848b8163778e31a1e0d04d91f9bbeb8 Reviewed-on: https://webrtc-review.googlesource.com/60864 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22495}
This commit is contained in:
@ -65,8 +65,8 @@ class TestRtpFrameReferenceFinder : public ::testing::Test,
|
||||
uint16_t Rand() { return rand_.Rand<uint16_t>(); }
|
||||
|
||||
void OnCompleteFrame(std::unique_ptr<EncodedFrame> frame) override {
|
||||
int64_t pid = frame->picture_id;
|
||||
uint16_t sidx = frame->spatial_layer;
|
||||
int64_t pid = frame->id.picture_id;
|
||||
uint16_t sidx = frame->id.spatial_layer;
|
||||
auto frame_it = frames_from_callback_.find(std::make_pair(pid, sidx));
|
||||
if (frame_it != frames_from_callback_.end()) {
|
||||
ADD_FAILURE() << "Already received frame with (pid:sidx): (" << pid << ":"
|
||||
|
Reference in New Issue
Block a user