• jer.noble@apple.com's avatar
    2011-04-06 Jer Noble <jer.noble@apple.com> · 7ef6838a
    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: svn://svn.chromium.org/blink/trunk@83134 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    7ef6838a
ChangeLog 1.12 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.