[Fuchsia] Reset video decoder when changing protected mode.
Previously FuchsiaVideoDecoder::Initialize() would keep the decoder when the stream config is changed from clear to encrypted. That didn't work correctly because the decoder needs to be re-initialized with secure input buffers and that mode can be selected only during decoder creation. Updated FuchsiaVideoDecoder::Initialize() to reset the decoder whenever protected mode needs to be changed. Bug: b/142274148 Change-Id: I236abd1e7d1f028ed8144adffc8b184febf789b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2051364Reviewed-by:David Dorwin <ddorwin@chromium.org> Commit-Queue: David Dorwin <ddorwin@chromium.org> Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#740497}
Showing
Please register or sign in to comment