[Webkit-unassigned] [Bug 68589] New: [Qt][Gtk] Wrong state when pausing a video in the "playing" event handler
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 21 17:26:45 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68589
Summary: [Qt][Gtk] Wrong state when pausing a video in the
"playing" event handler
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yael.aharon at nokia.com
When running the test from http://dvcs.w3.org/hg/html/file/233364893066/tests/approved/video/event_playing.html , the video is playing, but the controls are paused.
The test has an event listener on the "playing" event, and the event listener pauses the video.
The call to pause arrives before gstreamer switches state to GST_STATE_PLAY, so we do not propagate the pause to gstreamer.
I see at least 2 ways to fix this:
1. Always pause gstreamer, if m_pausedInternal is true.
2. In MediaPLayerPrivateGstreamer::paused() always check gstreamer's state instead of returning the cached state.
I will submit a patch soon, and would appreciate feedback on it.
--
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