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

Issue 2595853003: Revert of [Mojo Video Capture] Decouple VCController from VCBufferPool and VCDeviceClient (Closed)

Created:
4 years ago by chfremer
Modified:
4 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [Mojo Video Capture] Decouple VCController from VCBufferPool and VCDeviceClient (patchset #4 id:100001 of https://codereview.chromium.org/2551193002/ ) Reason for revert: This caused a regression where video capture on Android would get stuck in a loop when putting the browser to the background and restoring. See crbug.com/675528 for details. Original issue's description: > [Mojo Video Capture] Decouple VideoCaptureController from VideoCaptureBufferPool and VideoCaptureDeviceClient > > Decouple VideoCaptureController from VideoCaptureBufferPool and > VideoCaptureDeviceClient. This is needed in order to prepare > VideoCaptureController for working with both the (legacy) in-process video > capture and the new video_capture Mojo service. > > List of changes: > * Introduce an abstraction FrameBufferHost for the VideoCaptureController to > talk to the VideoCaptureBufferPool. > * Move VideoFrameReceiverOnIOThread to separate file. > * Move factory logic for creating and connecting > VideoCaptureBufferPoolImpl and VideoCaptureDeviceClient out of > VideoCaptureController and into VideoCaptureManager as well as the tests. > * Update OWNERS to include new file and include chfremer as owner. > * In VideoCaptureDeviceClient: Rename |frame_format| to |foramt|. > > This CL is part of the Mojo Video Capture work. For the bigger picture, > see [1] CL1.9.8 > > BUG=584797 > TEST= > content_unittests, > video_capture_unittests, > Apprtc loopback on Debug, > Desktop Capture Example extension on Release > > [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing > > Committed: https://crrev.com/0b129bdbdd3099a492bcf014c22239c2b35071a2 > Cr-Commit-Position: refs/heads/master@{#438604} TBR=mcasas@chromium.org,miu@chromium.org,avi@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=584797 Committed: https://crrev.com/78026a02b0b54c508d1e25b62b7beac2807af660 Cr-Commit-Position: refs/heads/master@{#440226}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -449 lines) Patch
M content/browser/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/OWNERS View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.h View 5 chunks +15 lines, -15 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 12 chunks +71 lines, -29 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 18 chunks +52 lines, -102 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client_unittest.cc View 4 chunks +8 lines, -27 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.h View 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 29 chunks +106 lines, -133 lines 0 comments Download
D content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h View 1 chunk +0 lines, -37 lines 0 comments Download
D content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M media/capture/video/video_capture_device.h View 2 chunks +5 lines, -13 lines 0 comments Download
M media/capture/video/video_capture_device_client.cc View 9 chunks +43 lines, -39 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
chfremer
Created Revert of [Mojo Video Capture] Decouple VCController from VCBufferPool and VCDeviceClient
4 years ago (2016-12-21 19:50:48 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2595853003/1
4 years ago (2016-12-21 19:51:29 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-21 21:41:20 UTC) #6
commit-bot: I haz the power
4 years ago (2016-12-21 21:42:58 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/78026a02b0b54c508d1e25b62b7beac2807af660
Cr-Commit-Position: refs/heads/master@{#440226}

Powered by Google App Engine
This is Rietveld 408576698