[Webkit-unassigned] [Bug 39053] [GStreamer] cache media duration in READY instead of PLAYING

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 20 08:58:41 PDT 2010


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





--- Comment #5 from Eric Carlson <eric.carlson at apple.com>  2010-05-20 08:58:40 PST ---
(In reply to comment #4)
> Hum I don't agree ;)
> 
>  m_mediaDurationKnown is initially true

Ah, I see this now. "m_mediaDurationKnown" is probably not the best name for the flag because it is set when you *don't* know the duration.

In any case durationChanged() has similar logic plus it informs HTMLMediaElement when that the duration has changed. Is there any reason to not call it instead?

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