• Ted Meyer's avatar
    Fix bug where InitializeFailed was being sent · 8f6bae67
    Ted Meyer authored
    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: default avatarDale Curtis <dalecurtis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#841686}
    8f6bae67
status_codes.h 7.1 KB