-
jer.noble@apple.com authored
Reviewed by Eric Carlson. MediaPlayerPrivateAVFoundation does not change rate due to setRate(). https://bugs.webkit.org/show_bug.cgi?id=57919 * media/video-set-rate-from-pause-expected.txt: Added. * media/video-set-rate-from-pause.html: Added. 2011-04-06 Jer Noble <jer.noble@apple.com> Reviewed by Eric Carlson. MediaPlayerPrivateAVFoundation does not change rate due to setRate(). https://bugs.webkit.org/show_bug.cgi?id=57919 Test: media/video-set-rate-from-pause.html The base class of MediaPlayerPrivateAVFoundation does not actually change the rate of the media; instead a subclass must do that work. So when setRate() is called, inform a subclass through a new pure virtual updateRate() function that there's work to be done. * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::setRate): Call updateRate() * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::updateRate): Added. Set the requested rate. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e3b8e30d