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

Issue 1324263004: Remove cricket::VideoFrame::Set/GetElapsedTime() (Closed)

Created:
5 years, 3 months ago by magjed_webrtc
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove cricket::VideoFrame::Set/GetElapsedTime() This CL is a baby step towards consolidating the timestamps in cricket::VideoFrame and webrtc::VideoFrame, so that we can unify the frame classes in the future. The elapsed time functionality is not really used. If a video sink wants to know the elapsed time since the first frame they can store the first timestamp themselves and calculate the time delta to later frames. This is already done in all video sinks that need the elapsed time. Having redundant timestamps in the frame classes is confusing and error prone. TBR=pthatcher@webrtc.org Committed: https://crrev.com/b09b660c53ff2c499d149e05e5c435f5057273fc Cr-Commit-Position: refs/heads/master@{#10131}

Patch Set 1 : #

Patch Set 2 : Rebased. Re-added CapturedFrame.elapsed_time. Remove once Chromium is updated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -124 lines) Patch
M talk/app/webrtc/androidvideocapturer.cc View 1 5 chunks +2 lines, -6 lines 0 comments Download
M talk/app/webrtc/objc/avfoundationvideocapturer.mm View 1 3 chunks +1 line, -3 lines 0 comments Download
M talk/app/webrtc/videotrack_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M talk/media/base/fakevideocapturer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M talk/media/base/fakevideorenderer.h View 4 chunks +1 line, -9 lines 0 comments Download
M talk/media/base/videocapturer.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M talk/media/base/videocapturer.cc View 2 chunks +1 line, -3 lines 0 comments Download
M talk/media/base/videocapturer_unittest.cc View 1 3 chunks +0 lines, -4 lines 0 comments Download
M talk/media/base/videoframe.h View 5 chunks +2 lines, -8 lines 0 comments Download
M talk/media/base/videoframe.cc View 2 chunks +1 line, -2 lines 0 comments Download
M talk/media/base/videoframe_unittest.h View 22 chunks +25 lines, -28 lines 0 comments Download
M talk/media/base/videoframefactory.cc View 1 chunk +0 lines, -1 line 0 comments Download
M talk/media/devices/filevideocapturer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M talk/media/devices/filevideocapturer.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M talk/media/webrtc/webrtcvideocapturer.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M talk/media/webrtc/webrtcvideoengine2_unittest.cc View 1 4 chunks +1 line, -5 lines 0 comments Download
M talk/media/webrtc/webrtcvideoframe.h View 1 5 chunks +5 lines, -10 lines 0 comments Download
M talk/media/webrtc/webrtcvideoframe.cc View 1 9 chunks +14 lines, -19 lines 0 comments Download
M talk/media/webrtc/webrtcvideoframe_unittest.cc View 5 chunks +3 lines, -11 lines 0 comments Download
M talk/media/webrtc/webrtcvideoframefactory_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 24 (13 generated)
magjed_webrtc
Please take a look. There is one remaining place in Chromium that uses GetElapsedTime(), in ...
5 years, 3 months ago (2015-09-09 08:51:59 UTC) #6
pbos-webrtc
love it, lgtm
5 years, 3 months ago (2015-09-09 09:05:17 UTC) #7
pthatcher1
It looks really nice, but what are you going to do about this use here? ...
5 years, 3 months ago (2015-09-16 04:18:02 UTC) #8
magjed_webrtc
I have fixed that spot in Chromium now: https://codereview.chromium.org/1360023003/ I have tried the patch locally ...
5 years, 2 months ago (2015-09-25 16:00:25 UTC) #12
magjed_webrtc
Ping, pthatcher - please take another look.
5 years, 2 months ago (2015-09-30 16:00:22 UTC) #13
pthatcher2
lgtm
5 years, 2 months ago (2015-09-30 17:27:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324263004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324263004/160001
5 years, 2 months ago (2015-10-01 08:14:41 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1037)
5 years, 2 months ago (2015-10-01 08:16:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324263004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324263004/160001
5 years, 2 months ago (2015-10-01 09:16:48 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:160001)
5 years, 2 months ago (2015-10-01 10:02:49 UTC) #23
commit-bot: I haz the power
5 years, 2 months ago (2015-10-01 10:03:18 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b09b660c53ff2c499d149e05e5c435f5057273fc
Cr-Commit-Position: refs/heads/master@{#10131}

Powered by Google App Engine
This is Rietveld 408576698