Chromium Code Reviews
DescriptionV4L2VideoDecodeAccelerator: fix frame returned after processor destroys.
When V4L2VideoDecodeAccelerator sends a frame to processor, it uses an
extra BindToCurrentLoop. That is not required because the processor is
only accessed on the decoder thread. The worse thing is the processed
frame may arrive after the processor is destroyed because of the extra
hop, which may cause a native crash in V4L2VDA.
BUG=645854
BUG=b/29059119
TEST=Run VDA unittest and video_VideoSeek test. Play video.
Committed: https://crrev.com/cc85d7601e6932050d2a12d3c03ffb8329969e92
Cr-Commit-Position: refs/heads/master@{#417902}
Patch Set 1 #Patch Set 2 : V4L2VideoDecodeAccelerator: fix frame returned after processor destroys. #Messages
Total messages: 9 (3 generated)
|