• Fredrik Hubinette's avatar
    Reland "Improve suspending logic." · 4cfb4416
    Fredrik Hubinette authored
    This is a reland of d2506f13
    Original change's description:
    > Improve suspending logic.
    > 
    > When loading takes too long, we can suspend the codec before
    > we have a chance to load the first frame. This is all normal,
    > but should only happen when we are waiting on the network.
    > This CL makes sure that we have additional progress callbacks
    > expected before suspending.
    > 
    > Bug: 728468
    > Change-Id: I815520e0ba832617b04948f7fbefb88498cf79b7
    > Reviewed-on: https://chromium-review.googlesource.com/614360
    > Reviewed-by: Dan Sanders <sandersd@chromium.org>
    > Commit-Queue: Fredrik Hubinette <hubbe@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#494212}
    
    Bug: 728468
    Change-Id: Ide175e6e5c8d2ecaeeb81b0055352f66c917d099
    Reviewed-on: https://chromium-review.googlesource.com/627616Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Commit-Queue: Fredrik Hubinette <hubbe@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#496513}
    4cfb4416
webmediaplayer_impl_unittest.cc 36.4 KB