[Fuchsia] Reuse decoder after FuchsiaVideoDecoder re-initialization.
Previously FuchsiaVideoDecoder was creating a new StreamProcessor instance every time Initialize() is called. This was not working correctly with decoders that do not support more than once instance. Fixed Initialize() to reuse StreamProcessor if it was initialized for the same codec. Bug: 1003529 Change-Id: I268c73f7e325eeb22be5bc2ad355d5b0f54b8659 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1814328 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Wez <wez@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#698746}
Showing
This diff is collapsed.
Please register or sign in to comment