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

Issue 2071953003: RtcVideoEncoder: use the current timestamp for encoded frames. (Closed)

Created:
4 years, 6 months ago by wuchengli
Modified:
4 years, 6 months ago
Reviewers:
mcasas, Pawel Osciak
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, pbos, shenghao
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RtcVideoEncoder: use the current timestamp for encoded frames. Nyan provides invalid timestamps in frame callback. Change back to the current time before it is fixed. BUG=chromium:620676 TEST=Run apprtc loopback and VEA test on nyan-big and oak. Committed: https://crrev.com/95f4096226a6def5622a4d51634acb5e5b808451 Cr-Commit-Position: refs/heads/master@{#400415}

Patch Set 1 #

Patch Set 2 : RtcVideoEncoder: use the current timestamp for encoded frames. #

Patch Set 3 : update the comment #

Total comments: 6

Patch Set 4 : address mcasas' comments #

Patch Set 5 : change to kMicrosecondsPerMillisecond #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M content/renderer/media/rtc_video_encoder.cc View 1 2 3 4 3 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 32 (18 generated)
wuchengli
PTAL. FYI. The original Shenghao's patch is https://codereview.chromium.org/1996453003/diff/200001/content/renderer/media/rtc_video_encoder.cc. You can compare.
4 years, 6 months ago (2016-06-17 08:48:20 UTC) #2
Pawel Osciak
lgtm
4 years, 6 months ago (2016-06-17 09:10:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071953003/40001
4 years, 6 months ago (2016-06-17 10:09:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/202494)
4 years, 6 months ago (2016-06-17 10:15:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071953003/40001
4 years, 6 months ago (2016-06-17 10:20:39 UTC) #13
wuchengli
mcasas@ OWNER review. Thanks.
4 years, 6 months ago (2016-06-17 10:24:33 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071953003/40001
4 years, 6 months ago (2016-06-17 10:25:05 UTC) #18
mcasas
LGTM assuming rtc::TimeMicros() works as expected :) https://codereview.chromium.org/2071953003/diff/40001/content/renderer/media/rtc_video_encoder.cc File content/renderer/media/rtc_video_encoder.cc (right): https://codereview.chromium.org/2071953003/diff/40001/content/renderer/media/rtc_video_encoder.cc#newcode479 content/renderer/media/rtc_video_encoder.cc:479: // fixed. ...
4 years, 6 months ago (2016-06-17 10:32:42 UTC) #19
wuchengli
Are you travelling? It's pretty late in MTV. :) Thanks for the quick review. https://codereview.chromium.org/2071953003/diff/40001/content/renderer/media/rtc_video_encoder.cc ...
4 years, 6 months ago (2016-06-17 10:44:36 UTC) #20
wuchengli
rtc::TimeMicros() should work because that was the original code. I just reverted the change.
4 years, 6 months ago (2016-06-17 10:45:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071953003/60001
4 years, 6 months ago (2016-06-17 10:45:46 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071953003/80001
4 years, 6 months ago (2016-06-17 11:15:34 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-17 12:08:09 UTC) #30
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 12:09:17 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/95f4096226a6def5622a4d51634acb5e5b808451
Cr-Commit-Position: refs/heads/master@{#400415}

Powered by Google App Engine
This is Rietveld 408576698