WebCore:
Reviewed by Adam.
If the media is playing and the load stalls the playback wont restart by seeking backwards.
We should be in CAN_PLAY state if the current time is less than the maximum loaded time. Rate
tricks were for streaming case and are not necessary now since that is now disabled.
Windows patch coming separately.
Test: http/tests/media/video-play-stall-seek.html
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivate::updateStates):
LayoutTests:
Reviewed by Adam.
Test that playback can be resumed by seeking backwards after a stall.
* http/tests/media/video-play-stall-seek-expected.txt: Added.
* http/tests/media/video-play-stall-seek.html: Added.
* platform/win/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29773
268f45cc-cd09-0410-ab3c-
d52691b4dbfc