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

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 229453004: Rename VideoFrame::{Get,Set}Timestamp() to {set_}timestamp(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile failure Created 6 years, 8 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
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index f2297c99e0b69bb5d82d6963d68d2be84ffca098..7906141f6910416bc66510f4c56434c742548cef 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -215,18 +215,18 @@ class CastVideoSink : public base::SupportsWeakPtr<CastVideoSink>,
// capture and delivery here for the first frame. We do not account
// for this delay.
if (first_frame_timestamp_.is_null())
- first_frame_timestamp_ = base::TimeTicks::Now() - frame->GetTimestamp();;
+ first_frame_timestamp_ = base::TimeTicks::Now() - frame->timestamp();
// Used by chrome/browser/extension/api/cast_streaming/performance_test.cc
TRACE_EVENT_INSTANT2(
"mirroring", "MediaStreamVideoSink::OnVideoFrame",
TRACE_EVENT_SCOPE_THREAD,
"timestamp",
- (first_frame_timestamp_ + frame->GetTimestamp()).ToInternalValue(),
- "time_delta", frame->GetTimestamp().ToInternalValue());
+ (first_frame_timestamp_ + frame->timestamp()).ToInternalValue(),
+ "time_delta", frame->timestamp().ToInternalValue());
frame_input_->InsertRawVideoFrame(
- frame, first_frame_timestamp_ + frame->GetTimestamp());
+ frame, first_frame_timestamp_ + frame->timestamp());
}
// Attach this sink to a video track represented by |track_|.
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698