FuchsiaVideoDecoder: Don't discard input packets when switching streams.
When a new stream is being started, StreamProcessor is supposed to explicitly free the input buffers that were submitted for a previous stream before they can be reused for the new stream. FuchsiaVideoDecoder wasn't handling this case correctly and as result it was sometimes failing to decode buffers after Reset(). Bug: 1011117 Change-Id: I0977e273c3978effbbd45790aee07cd61a52fc18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1838677Reviewed-by:Yuchen Liu <yucliu@chromium.org> Commit-Queue: Yuchen Liu <yucliu@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#703572}
Showing
Please register or sign in to comment