@@ -453,16 +453,15 @@ class VideoFrameTest : public testing::Test {
453453 static bool IsEqual (const cricket::VideoFrame& frame,
454454 int width,
455455 int height,
456- int64_t timestamp_us ,
456+ int64_t time_stamp ,
457457 const uint8_t * y,
458458 uint32_t ypitch,
459459 const uint8_t * u,
460460 uint32_t upitch,
461461 const uint8_t * v,
462462 uint32_t vpitch,
463463 int max_error) {
464- return IsSize (frame, width, height) &&
465- frame.timestamp_us () == timestamp_us &&
464+ return IsSize (frame, width, height) && frame.GetTimeStamp () == time_stamp &&
466465 IsPlaneEqual (" y" , frame.video_frame_buffer ()->DataY (),
467466 frame.video_frame_buffer ()->StrideY (), y, ypitch,
468467 static_cast <uint32_t >(width),
@@ -482,7 +481,7 @@ class VideoFrameTest : public testing::Test {
482481 int max_error) {
483482 return IsEqual (frame1,
484483 frame2.width (), frame2.height (),
485- frame2.timestamp_us (),
484+ frame2.GetTimeStamp (),
486485 frame2.video_frame_buffer ()->DataY (),
487486 frame2.video_frame_buffer ()->StrideY (),
488487 frame2.video_frame_buffer ()->DataU (),
@@ -500,7 +499,7 @@ class VideoFrameTest : public testing::Test {
500499 IsEqual (frame1,
501500 frame2.width () - hcrop * 2 ,
502501 frame2.height () - vcrop * 2 ,
503- frame2.timestamp_us (),
502+ frame2.GetTimeStamp (),
504503 frame2.video_frame_buffer ()->DataY ()
505504 + vcrop * frame2.video_frame_buffer ()->StrideY ()
506505 + hcrop,
0 commit comments