Skip to content
  • eric@webkit.org's avatar
    2009-10-02 Ben Murdoch <benm@google.com> · 3e10f165
    eric@webkit.org authored
            Reviewed by David Kilzer.
    
            Stale database version persists through browser refresh (changeVersion doesn't work)
            https://bugs.webkit.org/show_bug.cgi?id=27836
    
            Scale the cairo surface of the video sink depending on the
            pixel-aspect-ratio of the video buffer to paint. Also
            destruct/re-create the surface when setSize() is called with a new
            size.
    
            * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
            (WebCore::MediaPlayerPrivate::naturalSize):
            (WebCore::MediaPlayerPrivate::setSize):
            (WebCore::MediaPlayerPrivate::paint):
            * platform/graphics/gtk/VideoSinkGStreamer.cpp:
            (webkit_video_sink_idle_func):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3e10f165