DescriptionRefactor VideoCaptureManager::GetDeviceFormatsInUse()
VideoCaptureManager::GetDeviceFormatsInUse() [1] has below issues:
1. It unconditionally returns true and modifies a list of things when
it could just return the one thing it provides (when available).
2. Its implementation does not match the specification in its method-
level comment.
[1] https://cs.chromium.org/chromium/src/content/browser/renderer_host/
media/video_capture_manager.h?type=cs&l=156
This CL takes care of these issues.
BUG=702271
Review-Url: https://codereview.chromium.org/2810723002
Cr-Commit-Position: refs/heads/master@{#463659}
Committed: https://chromium.googlesource.com/chromium/src/+/cf466af46f6bc3bd2113e014909f97d1955f12c3
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed review comments #
Messages
Total messages: 20 (11 generated)
|