[Webkit-unassigned] [Bug 38384] New: [GStreamer] endless loop after playback ended

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 30 02:58:19 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38384

           Summary: [GStreamer] endless loop after playback ended
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://blogs.gnome.org/xan/files/2010/04/woot.ogg
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pnormand at igalia.com


Linked video will play fine but the player fails to get its duration. So when
playback ends the player sets the duration to the current playback position and
pause the pipeline. But duration() still returns inf because the
m_mediaDurationKnown is still false. This triggers and infinite loop because
HTMLMediaElement::endedPlayback will always return false (isnan(dur) check
still passing).


This flag needs to be set to true in didEnd() if m_mediaDuration is known.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list