Descriptioncontent: Split out VideoCaptureMachine from DesktopCaptureDeviceAura
This refactoring would allow the creation of capturing devices without having a
DesktopMediaID. This change pulls the DesktopVideoCaptureMachine class out from
DesktopCaptureDeviceAura and renames it to AuraWindowCaptureMachine. The class
is also refactored to take the target window (rather than a DesktopMediaID)
after construction through a SetWindow method.
BUG=425060
TEST=Using Chrome Cast beta extension and capture both screen and window
and observe that the capture works correctly and that histogram values
are updated.
Committed: https://crrev.com/8a244ea4bd4547fa7481b548b6997f3412f6c215
Cr-Commit-Position: refs/heads/master@{#320953}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Move from assigning window in ctor. to SetWindow() #Patch Set 3 : Remove duplicated call to UpdateCaptureSize #Patch Set 4 : Restore ctor. setting of desktop_window_ #Patch Set 5 : Don't rely on desktop_window_ being valid in DidCopyOutput #Patch Set 6 : Rename to AuraCaptureMachine and move to own file #
Total comments: 4
Patch Set 7 : Remove unnecessary use of WeakPtr & rebase on ToT #
Total comments: 8
Patch Set 8 : Move DesktopCaptureDeviceAura code to the correct place and move task posting into ctor. #
Total comments: 8
Patch Set 9 : Address review feedback. #Patch Set 10 : Fix non-aura mac build #
Messages
Total messages: 24 (9 generated)
|