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

Issue 1826643003: Add frame refresh to VideoCaptureDevice, and buffer pool resurrection. (Closed)

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

Description

Add frame refresh to VideoCaptureDevice, and buffer pool resurrection. This is the first in a series of changes to solve the problems related to VideoCaptureDevices that can pause (i.e., basically, screen capture devices). This introduces new optional-to-implement methods to the media::VideoCaptureDevice interface, and the supporting functionality in content::VideoCaptureBufferPool. This change should not result in any end-user-visible differences, as it is just laying the groundwork for future changes. For more details on the overall plan, please see the crbug. BUG=486274 Committed: https://crrev.com/e4a406a55b1fb94080258f5801338ff63b8dcbed Cr-Commit-Position: refs/heads/master@{#383426}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix unit tests. #

Total comments: 8

Patch Set 3 : Addressed emircan's nits. #

Patch Set 4 : REBASE before commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+539 lines, -253 lines) Patch
M content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M content/browser/media/capture/desktop_capture_device_unittest.cc View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 2 3 4 chunks +19 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool.h View 6 chunks +36 lines, -10 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool.cc View 1 2 10 chunks +220 lines, -207 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc View 4 chunks +145 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 3 chunks +27 lines, -13 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client.cc View 2 chunks +18 lines, -9 lines 0 comments Download
M media/capture/video/fake_video_capture_device_unittest.cc View 1 chunk +6 lines, -1 line 0 comments Download
M media/capture/video/video_capture_device.h View 1 2 2 chunks +35 lines, -7 lines 0 comments Download
M media/capture/video/video_capture_device_unittest.cc View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
miu
mcasas: PTAL. Recommend starting with video_capture_device.h, and the rest should all make sense. Also, the ...
4 years, 9 months ago (2016-03-23 01:10:52 UTC) #2
miu
+emircan
4 years, 9 months ago (2016-03-24 22:01:46 UTC) #5
emircan
lgtm % nits. https://codereview.chromium.org/1826643003/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool.cc File content/browser/renderer_host/media/video_capture_buffer_pool.cc (right): https://codereview.chromium.org/1826643003/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool.cc#newcode435 content/browser/renderer_host/media/video_capture_buffer_pool.cc:435: // size, then either use the ...
4 years, 9 months ago (2016-03-25 22:44:25 UTC) #6
miu
Thanks. Addressed all the comments: https://codereview.chromium.org/1826643003/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool.cc File content/browser/renderer_host/media/video_capture_buffer_pool.cc (right): https://codereview.chromium.org/1826643003/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool.cc#newcode435 content/browser/renderer_host/media/video_capture_buffer_pool.cc:435: // size, then either ...
4 years, 9 months ago (2016-03-25 23:13:48 UTC) #7
mcasas
RS LGTM
4 years, 9 months ago (2016-03-25 23:23:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826643003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826643003/60001
4 years, 9 months ago (2016-03-25 23:38:58 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-26 00:57:29 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-26 00:58:49 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e4a406a55b1fb94080258f5801338ff63b8dcbed
Cr-Commit-Position: refs/heads/master@{#383426}

Powered by Google App Engine
This is Rietveld 408576698