Skip to content
  • philn@webkit.org's avatar
    2010-01-25 Philippe Normand <pnormand@igalia.com> · 10469aeb
    philn@webkit.org authored
            Reviewed by Eric Seidel.
    
            [Gtk] media/video-reverse-play-duration.html fails on and off on Gtk buildbots
            https://bugs.webkit.org/show_bug.cgi?id=34086
    
            Cache media duration and fix didEnd() in case of reverse
            playback. When EOS was reached but in case of reverse playback the
            position is not always 0. So to not confuse the HTMLMediaElement
            we synchronize position and duration values.
    
            * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
            (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
            (WebCore::MediaPlayerPrivate::duration):
            (WebCore::MediaPlayerPrivate::updateStates):
            (WebCore::MediaPlayerPrivate::didEnd):
            (WebCore::MediaPlayerPrivate::durationChanged):
            * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
    
    2010-01-25  Philippe Normand  <pnormand@igalia.com>
    
            Reviewed by Eric Seidel.
    
            [Gtk] media/video-reverse-play-duration.html fails on and off on Gtk buildbots
            https://bugs.webkit.org/show_bug.cgi?id=34086
    
            * platform/gtk/Skipped: Unskip fixed test.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    10469aeb