[Webkit-unassigned] [Bug 90733] [GStreamer] cache video dimensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 7 18:50:16 PDT 2012


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





--- Comment #2 from Martin Robinson <mrobinson at webkit.org>  2012-07-07 18:50:16 PST ---
(From update of attachment 151151)
View in context: https://bugs.webkit.org/attachment.cgi?id=151151&action=review

The logic is a bit hard to follow here. Perhaps you could do this:

1. naturalSize() would be responsible for caching. m_videoSize.
2. In notifyPlayerOfVideo when you want to invalidate the cached video size simply do:

    m_videoSize = IntSize();

and then let naturalSize() initialize m_videoSize lazily.

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