[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:33:33 PDT 2010


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





--- Comment #4 from Philippe Normand <pnormand at igalia.com>  2010-05-20 08:33:33 PST ---

Hum I don't agree ;)

This really caches the duration. m_mediaDurationKnown is initially true and m_mediaDuration is 0. So until m_mediaDurationKnown is set, a real duration query will be performed on the pipeline.

It would be much more simpler to have that logic in duration() itself but it's a const method, m_mediaDurationKnown can't be set inside :/

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