Prepare to replace VideoLayerFrameId with int64_t.
Bug: webrtc:12206 Change-Id: I10bfdefbc95a79e0595956c1a0e688051da6d2b9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/207180 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33265}
This commit is contained in:
@ -163,7 +163,7 @@ class HasFrameMatcher : public MatcherInterface<const FrameVector&> {
|
||||
MatchResultListener* result_listener) const override {
|
||||
auto it = std::find_if(frames.begin(), frames.end(),
|
||||
[this](const std::unique_ptr<EncodedFrame>& f) {
|
||||
return f->id.picture_id == frame_id_;
|
||||
return f->Id() == frame_id_;
|
||||
});
|
||||
if (it == frames.end()) {
|
||||
if (result_listener->IsInterested()) {
|
||||
@ -635,7 +635,7 @@ TEST_F(RtpVp9RefFinderTest, WrappingFlexReference) {
|
||||
ASSERT_EQ(1UL, frames_.size());
|
||||
const EncodedFrame& frame = *frames_[0];
|
||||
|
||||
ASSERT_EQ(frame.id.picture_id - frame.references[0], 5);
|
||||
ASSERT_EQ(frame.Id() - frame.references[0], 5);
|
||||
}
|
||||
|
||||
TEST_F(RtpVp9RefFinderTest, GofPidJump) {
|
||||
|
||||
Reference in New Issue
Block a user