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

Issue 2282713002: Introduce webrtc::VideoFrame::timestamp_us, and corresponding constructor. (Closed)

Created:
4 years, 3 months ago by nisse-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, yujie_mao (webrtc), tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Introduce webrtc::VideoFrame::timestamp_us, and corresponding constructor. Replaces render_time_ms_, but old accessors are kept for compatibility. Also short-circuit timestamp translation in WebRtcVideoChannel2::WebRtcVideoSendStream::OnFrame. BUG=webrtc:5682, webrtc:5740 Committed: https://crrev.com/74c10b5a7aee97e91dc533c430e0e6110c952b94 Cr-Commit-Position: refs/heads/master@{#14062}

Patch Set 1 #

Patch Set 2 : Delete testcase WebRtcVideoEngine2Test.ProducesIncreasingTimestampsWithResetInputSources #

Total comments: 13

Patch Set 3 : Improve comments and constructor order. #

Total comments: 2

Patch Set 4 : Rename timestamp_ --> timestamp_rtp_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -101 lines) Patch
M webrtc/common_video/video_frame.cc View 1 2 3 3 chunks +17 lines, -8 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 chunk +1 line, -5 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 5 chunks +9 lines, -22 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 1 chunk +0 lines, -57 lines 0 comments Download
M webrtc/video_frame.h View 1 2 3 5 chunks +27 lines, -9 lines 0 comments Download

Messages

Total messages: 37 (18 generated)
nisse-webrtc
https://codereview.webrtc.org/2282713002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (left): https://codereview.webrtc.org/2282713002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc#oldcode1667 webrtc/media/engine/webrtcvideoengine2.cc:1667: int64_t frame_delta_ms = frame.GetTimeStamp() / rtc::kNumNanosecsPerMillisec; A bonus point ...
4 years, 3 months ago (2016-08-26 11:39:51 UTC) #8
danilchap
looks good. some style comments https://codereview.webrtc.org/2282713002/diff/20001/webrtc/common_video/video_frame.cc File webrtc/common_video/video_frame.cc (right): https://codereview.webrtc.org/2282713002/diff/20001/webrtc/common_video/video_frame.cc#newcode26 webrtc/common_video/video_frame.cc:26: VideoFrame::VideoFrame(const rtc::scoped_refptr<VideoFrameBuffer>& buffer, order ...
4 years, 3 months ago (2016-08-26 13:19:30 UTC) #11
perkj_webrtc
lgtm with the Danils comments addressed. Have you tried git blame to see who wrote ...
4 years, 3 months ago (2016-08-26 15:38:53 UTC) #12
nisse-webrtc
On 2016/08/26 15:38:53, perkj_webrtc wrote: > lgtm with the Danils comments addressed. Have you tried ...
4 years, 3 months ago (2016-08-29 07:47:32 UTC) #13
nisse-webrtc
https://codereview.webrtc.org/2282713002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (left): https://codereview.webrtc.org/2282713002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc#oldcode1729 webrtc/media/engine/webrtcvideoengine2.cc:1729: first_frame_timestamp_ms_ = rtc::Optional<int64_t>(); On 2016/08/26 15:38:52, perkj_webrtc wrote: > ...
4 years, 3 months ago (2016-08-29 07:49:58 UTC) #14
danilchap
lgtm https://codereview.webrtc.org/2282713002/diff/20001/webrtc/video_frame.h File webrtc/video_frame.h (right): https://codereview.webrtc.org/2282713002/diff/20001/webrtc/video_frame.h#newcode34 webrtc/video_frame.h:34: webrtc::VideoRotation rotation, On 2016/08/29 07:49:58, nisse-webrtc wrote: > ...
4 years, 3 months ago (2016-08-29 08:28:17 UTC) #15
nisse-webrtc
On 2016/08/29 08:28:17, danilchap wrote: > Not sure why consistency with WebRtcVideFrame matter. Because we're ...
4 years, 3 months ago (2016-08-29 08:48:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2282713002/40001
4 years, 3 months ago (2016-08-29 09:25:37 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, no build URL)
4 years, 3 months ago (2016-08-29 09:39:38 UTC) #21
danilchap
On 2016/08/29 08:48:25, nisse-webrtc wrote: > On 2016/08/29 08:28:17, danilchap wrote: > > > Not ...
4 years, 3 months ago (2016-08-29 09:43:04 UTC) #22
nisse-webrtc
mflodman: PTAL, OWNER's approval needed for the changes to webrtc::VideoFrame.
4 years, 3 months ago (2016-08-29 10:41:16 UTC) #24
mflodman
LG for the change, but one comment regarding the RTP timestamp in the class. It ...
4 years, 3 months ago (2016-09-02 12:29:59 UTC) #25
nisse-webrtc
https://codereview.webrtc.org/2282713002/diff/40001/webrtc/video_frame.h File webrtc/video_frame.h (right): https://codereview.webrtc.org/2282713002/diff/40001/webrtc/video_frame.h#newcode190 webrtc/video_frame.h:190: uint32_t timestamp_; On 2016/09/02 12:29:59, mflodman wrote: > Can ...
4 years, 3 months ago (2016-09-02 12:46:24 UTC) #26
mflodman
Discussed offline, LGTM with variable renamed.
4 years, 3 months ago (2016-09-02 12:55:59 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2282713002/60001
4 years, 3 months ago (2016-09-02 13:23:00 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_rel on ...
4 years, 3 months ago (2016-09-02 15:23:35 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2282713002/60001
4 years, 3 months ago (2016-09-05 07:03:39 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-05 07:51:21 UTC) #35
commit-bot: I haz the power
4 years, 3 months ago (2016-09-05 07:51:33 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/74c10b5a7aee97e91dc533c430e0e6110c952b94
Cr-Commit-Position: refs/heads/master@{#14062}

Powered by Google App Engine
This is Rietveld 408576698