[Fuchsia] Fix EOS handling in FuchsiaVideoDecoder
FuchsiaVideoDecoder wasn't handling the end-of-stream correctly. The DecodeCB for EOS buffer was called out of order when there are other pending Decode requests. Also DCHECKs were failing. Also updated unittests to detect this issue. Bug: 997853 Change-Id: Iae04250521e929d8ad220ead08d701f274a15979 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810397 Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Commit-Queue: Yuchen Liu <yucliu@chromium.org> Reviewed-by:Yuchen Liu <yucliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#697672}
Showing
Please register or sign in to comment