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

Issue 1153713006: FakeVideoCaptureDevice: Regulate framerate without drifting (Closed)

Created:
5 years, 6 months ago by magjed_chromium
Modified:
5 years, 6 months ago
Reviewers:
mcasas, brucedawson
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FakeVideoCaptureDevice: Regulate framerate without drifting We currently rely on PostDelayedTask with a constant frame interval to get a specified frame rate. This CL dynamically adapts the delay to PostDelayedTask to keep the frame rate in sync. This CL is similar to https://codereview.chromium.org/1162903004/. BUG=492189 Committed: https://crrev.com/592dfd1e550e16fbfcd9840e5dd6a244fbb022cc Cr-Commit-Position: refs/heads/master@{#333723}

Patch Set 1 #

Total comments: 2

Patch Set 2 : mcasas@ comments #

Total comments: 4

Patch Set 3 : mcasas@ comments #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -13 lines) Patch
M media/video/capture/fake_video_capture_device.h View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M media/video/capture/fake_video_capture_device.cc View 1 2 6 chunks +27 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153713006/1
5 years, 6 months ago (2015-06-05 13:04:57 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-05 15:32:47 UTC) #4
magjed_chromium
Please take a look.
5 years, 6 months ago (2015-06-08 09:55:42 UTC) #6
mcasas
https://codereview.chromium.org/1153713006/diff/1/media/video/capture/fake_video_capture_device.cc File media/video/capture/fake_video_capture_device.cc (right): https://codereview.chromium.org/1153713006/diff/1/media/video/capture/fake_video_capture_device.cc#newcode200 media/video/capture/fake_video_capture_device.cc:200: const base::Closure& next_capture) { What about adding a parameter ...
5 years, 6 months ago (2015-06-08 17:30:36 UTC) #7
magjed_chromium
PTAL
5 years, 6 months ago (2015-06-09 17:09:34 UTC) #8
mcasas
LGTM % my comments. https://codereview.chromium.org/1153713006/diff/20001/media/video/capture/fake_video_capture_device.cc File media/video/capture/fake_video_capture_device.cc (right): https://codereview.chromium.org/1153713006/diff/20001/media/video/capture/fake_video_capture_device.cc#newcode221 media/video/capture/fake_video_capture_device.cc:221: base::MessageLoop::current()->PostDelayedTask( Nit: To make the ...
5 years, 6 months ago (2015-06-09 19:41:16 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153713006/40001
5 years, 6 months ago (2015-06-10 09:54:02 UTC) #12
magjed_chromium
https://codereview.chromium.org/1153713006/diff/20001/media/video/capture/fake_video_capture_device.cc File media/video/capture/fake_video_capture_device.cc (right): https://codereview.chromium.org/1153713006/diff/20001/media/video/capture/fake_video_capture_device.cc#newcode221 media/video/capture/fake_video_capture_device.cc:221: base::MessageLoop::current()->PostDelayedTask( On 2015/06/09 19:41:16, mcasas wrote: > Nit: To ...
5 years, 6 months ago (2015-06-10 11:19:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153713006/40001
5 years, 6 months ago (2015-06-10 11:20:23 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-10 12:12:31 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/592dfd1e550e16fbfcd9840e5dd6a244fbb022cc Cr-Commit-Position: refs/heads/master@{#333723}
5 years, 6 months ago (2015-06-10 12:13:32 UTC) #18
brucedawson
5 years, 6 months ago (2015-06-10 17:00:10 UTC) #20
Message was sent while issue was closed.
Thanks for the fix. lgtm.

Powered by Google App Engine
This is Rietveld 408576698