DescriptionFix DCHECK error when invalid video constraints are set on gUM. If a video constraint can not be met, VideoCaptureDelegate::StopDeliver is called even if StartDeliver has not been called. This is as expected. The problem is that the messagelooproxy has not been set when VideoCaptureDelegate::StopSourceImpl is called unless StartDeliver has been called. This sets the proxy when the VideoCaptureDelegate is created instead.
A content browser test is added to test what happen if constraints can not be met.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257450
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fix to use error code and use expect failure. #
Total comments: 1
Patch Set 3 : Fix nit. #Patch Set 4 : Rebased #
Messages
Total messages: 19 (0 generated)
|