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.
Review-Url: https://codereview.chromium.org/2329913002
Cr-Commit-Position: refs/heads/master@{#417902}
(cherry picked from commit cc85d7601e6932050d2a12d3c03ffb8329969e92)
Committed: https://chromium.googlesource.com/chromium/src/+/f48a14aa7d0644df279e2bb332959c2a5e15b912
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||