Chromium Code Reviews
DescriptionFix for issue 684766 Old/erroneous frame feedback during tab capture
VideoCaptureController was not updating the |frame_feedback_id| when new frames
were arriving. This resulted in frame feedback being reported back to producing
devices being stuck with the |frame_feedback_id|s that came with the initial
sharing of the buffers.
The existing unit test did not catch this bug, because it tested the
feedback mechanism for a sequence of only 2 frames, which happens to be the same
as the number of buffers being shared, resulting in the issue not surfacing.
In addition to a fix, this CL adds a new test case that verifies that the
frame feedback mechanism works as intended for longer sequences of frames.
BUG=684766
TEST=content_unittests --gtest_filter="VideoCaptureControllerTest.*"
Review-Url: https://codereview.chromium.org/2659653002
Cr-Commit-Position: refs/heads/master@{#447262}
Committed: https://chromium.googlesource.com/chromium/src/+/6ce92793fa6e71801c77b7770c66eeb76799df30
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added clarifying comment #Patch Set 3 : Exercise ResurrectLastOutputBuffer() and apply git cl format #
Messages
Total messages: 23 (15 generated)
|
|||||||||||||||||||||||||||||||||||||