DescriptionFix potential synchronization issues with framelisteners in EglRenderer.
Previously, a frame queued before calling addFrameListener could be
passed to the listener. Also fixes an issue where listener could still
be called after removeFrameListener call returned.
BUG=webrtc:6470
Committed: https://crrev.com/bb58435da0513e080a0f66086a3262ec087c73dc
Cr-Commit-Position: refs/heads/master@{#15275}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Changes according to magjed's comments. #Patch Set 3 : Add unittests. #Patch Set 4 : Remove unnecessary lock. #
Messages
Total messages: 12 (5 generated)
|