Fix bug where InitializeFailed was being sent
There were three uses of NotifyError(std::string) that should have been using NotifyError(media::Status). It was causing decode errors to show up with the initialization error code. Also added the VDA error number to the log, if it is a decode error. It'll usually be 4 though. This doesn't actually fix the issue where the video isn't decoding, it just makes the debugging situation much easier. Bug: 1164463 Change-Id: I399898e3b2ca02ade3ef5a0f8c4e2a0af87d722a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618526 Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#841686}
Showing
Please register or sign in to comment