[Webkit-unassigned] [Bug 35328] [Qt] Various Fixes to MediaPlayerPrivateQt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 25 17:07:52 PST 2010


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





--- Comment #14 from Nick Young <nicholas.young at nokia.com>  2010-02-25 17:07:52 PST ---
(In reply to comment #9)

> Doing this makes loading the Transformers trailer go from instantaneous to 5-10
> seconds before the first loadedmetadata, and even then it does not seem to load
> fully to be able to play.

It works for me. Also if you look at the code, I never set the MediaPlayer in
to the HAVE_METADATA state, and I can not see anywhere in WebKit where
HAVE_METADATA would be returned instead of the media player's state. This seems
to be inconsistent with the data in your second attachment.

> Presumably because we have the buffer filled to 100%, which with the old code
> would dump us into Idle and HaveEnoughData, but now we don't update our states
> anymore on bytesLoaded() (a good thing per se).

As I understand it, bytesLoaded() should never be called. It is not used by
webkit currently, it is only provided to have a complete interface.

> I tried doing updateStates() on the bufferStateChange() signal, which I would
> assume would be the right fix, but that didn't change anything as we don't seem
> to receive this signal :/

bufferStateChange() is only emitted when the media status is either Buffering
or Stalled.

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