Index: webrtc/media/base/videobroadcaster.cc |
diff --git a/webrtc/media/base/videobroadcaster.cc b/webrtc/media/base/videobroadcaster.cc |
index c9a2d99ab5d3e7b97ed48f63a31bcf5eda867bbf..18c38b731d197316c52203a4d72eec217691ab31 100644 |
--- a/webrtc/media/base/videobroadcaster.cc |
+++ b/webrtc/media/base/videobroadcaster.cc |
@@ -99,13 +99,13 @@ const cricket::VideoFrame& VideoBroadcaster::GetBlackFrame( |
if (black_frame_ && black_frame_->width() == frame.width() && |
black_frame_->height() == frame.height() && |
black_frame_->rotation() == frame.rotation()) { |
- black_frame_->SetTimeStamp(frame.GetTimeStamp()); |
+ black_frame_->set_timestamp_us(frame.timestamp_us()); |
return *black_frame_; |
} |
black_frame_.reset(new cricket::WebRtcVideoFrame( |
- new rtc::RefCountedObject<webrtc::I420Buffer>( |
- frame.width(), frame.height()), |
- frame.GetTimeStamp(), frame.rotation())); |
+ new rtc::RefCountedObject<webrtc::I420Buffer>(frame.width(), |
+ frame.height()), |
+ frame.rotation(), frame.timestamp_us())); |
black_frame_->SetToBlack(); |
return *black_frame_; |
} |