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

Issue 1784603002: Fix timestamp sent from CanvasCaptureHandler & make thread checkers clear (Closed)

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

Description

Fix timestamp sent from CanvasCaptureHandler & make thread checkers clear This CL adresses issues caused by the missing timestamp in the VideoFrame sent from CanvasCaptureHandler. We send base::TimeTicks::Now() as other capture devices do[0][1]. Also, thread checkers are named according to the threads they are pinned to. [0] https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/media/capture/desktop_capture_device.cc&rcl=1457541024&l=316 [1] https://code.google.com/p/chromium/codesearch#chromium/src/media/capture/video/linux/v4l2_capture_delegate.cc&rcl=1457541024&l=395 BUG=524218 Committed: https://crrev.com/db1ec30aabfc9e826f143a20dc7f1c3e9df1325b Cr-Commit-Position: refs/heads/master@{#380323}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -13 lines) Patch
M content/renderer/media/canvas_capture_handler.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/media/canvas_capture_handler.cc View 1 9 chunks +17 lines, -11 lines 0 comments Download
M content/renderer/media/canvas_capture_handler_unittest.cc View 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 18 (10 generated)
emircan
PTAL.
4 years, 9 months ago (2016-03-09 22:07:48 UTC) #4
mcasas
lgtm
4 years, 9 months ago (2016-03-09 22:30:13 UTC) #5
emircan
Thanks. I went over the class and renamed thread_checkers to make it clear which thread ...
4 years, 9 months ago (2016-03-09 23:50:44 UTC) #7
mcasas
On 2016/03/09 23:50:44, emircan wrote: > Thanks. I went over the class and renamed thread_checkers ...
4 years, 9 months ago (2016-03-10 00:25:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1784603002/50004 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1784603002/50004
4 years, 9 months ago (2016-03-10 02:40:24 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:50004)
4 years, 9 months ago (2016-03-10 03:47:43 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/db1ec30aabfc9e826f143a20dc7f1c3e9df1325b Cr-Commit-Position: refs/heads/master@{#380323}
4 years, 9 months ago (2016-03-10 03:50:09 UTC) #16
Lei Zhang
4 years, 9 months ago (2016-03-10 21:44:02 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/1784603002/diff/50004/content/renderer/media/...
File content/renderer/media/canvas_capture_handler_unittest.cc (right):

https://codereview.chromium.org/1784603002/diff/50004/content/renderer/media/...
content/renderer/media/canvas_capture_handler_unittest.cc:103:
EXPECT_EQ(video_frame->timestamp().InMilliseconds(),
This has been failing on memory.fyi bots, e.g.

https://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28...

Powered by Google App Engine
This is Rietveld 408576698