[Webkit-unassigned] [Bug 90733] [GStreamer] cache video dimensions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jul 7 19:54:52 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90733
--- Comment #3 from Philippe Normand <pnormand at igalia.com> 2012-07-07 19:54:52 PST ---
(In reply to comment #2)
> (From update of attachment 151151 [details])
> 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.
That's not possible unfortunately because naturalSize() is const :/
> 2. In notifyPlayerOfVideo when you want to invalidate the cached video size simply do:
>
> m_videoSize = IntSize();
>
That I can do yes! :)
--
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