Delete cricket::VideoFrame::GetTimeStamp.
TBR=tkchin@webrtc.org # Trivial change to VideoRendererAdapter BUG=webrtc:5682 Review-Url: https://codereview.webrtc.org/2305623002 Cr-Commit-Position: refs/heads/master@{#14037}
This commit is contained in:
@ -30,7 +30,8 @@ class VideoRendererAdapter
|
||||
RTCVideoFrame* videoFrame = [[RTCVideoFrame alloc]
|
||||
initWithVideoBuffer:nativeVideoFrame.video_frame_buffer()
|
||||
rotation:nativeVideoFrame.rotation()
|
||||
timeStampNs:nativeVideoFrame.GetTimeStamp()];
|
||||
timeStampNs:nativeVideoFrame.timestamp_us() *
|
||||
rtc::kNumNanosecsPerMicrosec];
|
||||
CGSize current_size = (videoFrame.rotation % 180 == 0)
|
||||
? CGSizeMake(videoFrame.width, videoFrame.height)
|
||||
: CGSizeMake(videoFrame.height, videoFrame.width);
|
||||
|
||||
Reference in New Issue
Block a user