Handle OnTimeStateChanged() after an EOS has been delivered.
commit67314612a2fca488205d44b4d6911e2a29578539
authordalecurtis <dalecurtis@chromium.org>
Thu, 7 May 2015 02:32:22 +0000 (6 19:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 7 May 2015 02:33:05 +0000 (7 02:33 +0000)
tree0c85e7989b177c403cebc42372cf939de471479b
parent7512409dce8eb4141c5d6886fbd47eda816375a0
Handle OnTimeStateChanged() after an EOS has been delivered.

The renderer has not yet received the ended callback and if we just
maintain HAVE_NOTHING, the renderer never exits preroll, so instead
just ignore time state changes after rendering eos.

BUG=485324
TEST=new test

Review URL: https://codereview.chromium.org/1126293005

Cr-Commit-Position: refs/heads/master@{#328686}
media/renderers/video_renderer_impl.cc
media/renderers/video_renderer_impl_unittest.cc