Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: webrtc/api/video/video_frame.cc

Issue 2633493002: Delete VideoFrame::set_render_time_ms. (Closed)
Patch Set: Add deprecation comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/video/video_frame.cc
diff --git a/webrtc/api/video/video_frame.cc b/webrtc/api/video/video_frame.cc
index bd9c72c35272b6e9d3f9efb14ff005ad9c47297e..0e3efb2be18f7cee6eaece14a1492acc35e8e53e 100644
--- a/webrtc/api/video/video_frame.cc
+++ b/webrtc/api/video/video_frame.cc
@@ -55,10 +55,6 @@ rtc::scoped_refptr<VideoFrameBuffer> VideoFrame::video_frame_buffer() const {
return video_frame_buffer_;
}
-void VideoFrame::set_render_time_ms(int64_t render_time_ms) {
- set_timestamp_us(render_time_ms * rtc::kNumMicrosecsPerMillisec);
-}
-
int64_t VideoFrame::render_time_ms() const {
return timestamp_us() / rtc::kNumMicrosecsPerMillisec;
}

Powered by Google App Engine
This is Rietveld 408576698