[Webkit-unassigned] [Bug 51407] New: A check should be in place to ensure that a media engine error has not occurred after MediaPlayer::play() is called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 21 10:30:31 PST 2010


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

           Summary: A check should be in place to ensure that a media
                    engine error has not occurred after
                    MediaPlayer::play() is called
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P4
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lsydorowski at rim.com


Created an attachment (id=77130)
 --> (https://bugs.webkit.org/attachment.cgi?id=77130&action=review)
Proposed patch

In the event of a media engine error occurring at the start of media playback (when MediaPlayer::play() is called from HTMLMediaElement::updatePlayState()), a check should be made that an error did not occur immediately after attempting to play media. This ensures that the media element is aware that the media was not able to play in the event that m_error was set from HTMLMediaElement::mediaEngineError().

A proposed patch is attached.

-- 
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