New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 598465 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All , Mac
Pri: 3
Type: Feature



Sign in to add a comment

Cleanup: use CancellableTaskTracker iso VideoCaptureManager::CaptureDeviceStartRequest

Project Member Reported by mcasas@chromium.org, Mar 28 2016

Issue description

Comment 1 by mcasas@chromium.org, Mar 28 2016

Cc: perkj@chromium.org
Labels: Hotlist-GoodFirstBug OS-All
Adding perkj@ that landed this code originally:

https://chromium.googlesource.com/chromium/src/+/58af7960deb5d850cde69b90f119dd00d298a191

Comment 2 Deleted

After reading CancelableTaskTracker, I am not sure it can be applied here. If I understand correctly, CancelableTaskTracker is meant to allow cancellation of tasks after they have already been posted to a TaskRunner. In the case of |VideoCaptureManager::device_start_request_queue_|, we do not post the next request (task) to a TaskRunner until the previous one has completed. And the reason we do it this way is (probably) because processing the requests requires a roundtrip to another thread (device thread) and we want to avoid having more than one request in flight.
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 13 2018

Labels: Hotlist-Recharge-Cold

Sign in to add a comment