Once we start playing a media url in WebMediaPlayerImpl, m_paused in HTMLMediaElement will always set to true, even if the whole stream has been consumed by the pipeline. This CL allows the WebMediaPlayerClient to inform MediaPlayer that playstate has changed (e.g., pipeline crashed due to some errors and the WebMediaPlayerImpl is in state "paused")
Created attachment 86466 [details] Patch
Comment on attachment 86466 [details] Patch Looks good to me.
Can you make a test?
Comment on attachment 86466 [details] Patch OK
Created attachment 86852 [details] Patch
The commit-queue encountered the following flaky tests while processing attachment 86852 [details]: http/tests/xmlhttprequest/cross-origin-authorization.html bug 52398 (author: ap@webkit.org) The commit-queue is continuing to process your patch.
Comment on attachment 86852 [details] Patch Clearing flags on attachment: 86852 Committed r81930: <http://trac.webkit.org/changeset/81930>
All reviewed patches have been landed. Closing bug.