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

Issue 8806031: close camera when the last client returns buffers after it has called StopCapture. (Closed)

Created:
9 years ago by wjia(left Chromium)
Modified:
9 years ago
Reviewers:
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell+watch_chromium.org, annacc+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

close camera when the last client returns buffers after it has called StopCapture. It's possible that client can call StopCapture, then return buffers. Therefore, when a client returns all buffers and it's removed from controller's client list, it's needed to check whether controller has any client left. If no client is left, the device should be closed. BUG=106369 TEST=trybots

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698