DescriptionWhen stopping QTKit video capture, call stopRunning before removeInput:.
Empirically, this prevents a browser hang when the active camera is
unplugged. The unplug event triggers both stopping the capturer and
enumerating the available input devices at the same time. It seems
that calling removeInput: on a running capturer after an error
produces a deadlock, but stopping the capturer first resolves the
problem.
BUG=285053
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242936
Patch Set 1 #
Messages
Total messages: 10 (0 generated)
|