DescriptionRestore DXVAVideoDecodeAccelerator::SetState to continue setting the state on the main thread.
DXVAVideoDecodeAccelerator::GetState uses InterlockedAdd(0) to get the recent state.
BUG=441000
Committed: https://crrev.com/fc1bdb4f2b45cb771e227238241646ac18d249ca
Cr-Commit-Position: refs/heads/master@{#308245}
Patch Set 1 #Patch Set 2 : Update comment #Patch Set 3 : Use InterlockedAdd(0) in GetState #
Total comments: 2
Patch Set 4 : Added DCHECK for size of state #
Total comments: 2
Patch Set 5 : Use static_assert for type size #
Messages
Total messages: 19 (6 generated)
|