[Webkit-unassigned] [Bug 39053] [GStreamer] cache media duration in READY instead of PLAYING
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 5 23:21:39 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39053
--- Comment #10 from Philippe Normand <pnormand at igalia.com> 2010-09-05 23:21:38 PST ---
(In reply to comment #9)
> I don't understand why you would *ever* want to suppress the event. If you don't send the event when the duration changes, you won't ever send it unless the duration changes again.
>
> Why not always send it when m_mediaDuration != previousDuration?
It is already sent once by the HTMLMediaElement when it reaches HAVE_METADATA. Without using that flag in durationChanged() I can see double emission of the event in 5 media tests at least.
--
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