DescriptionWebContentsVideoCaptureDevice: Recover after errors.
In RenderOnRenderThread, be sure to always run the callback,
even when dropping frames. Without this fix, num_renders_pending_
would be stuck at 2 forever after two errors.
Add a test demonstrating this bug. Also fixes tests to time out
after 2 seconds of inactivity.
TEST=new content_unittests
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180295
Patch Set 1 #Patch Set 2 : Fix some whitespace. #Patch Set 3 : More self-review fixes. #Patch Set 4 : merge with upstream #Patch Set 5 : Merge with upstream. #
Messages
Total messages: 8 (0 generated)
|