[vlc-devel] [PATCH] Mac OS X: access_screen: support Lion, add Display ID options

Jean-Baptiste Kempf jb at videolan.org
Sun Feb 26 10:18:27 CET 2012


On Sun, Feb 26, 2012 at 09:15:09AM +0900, FUJISAWA Tooru wrote :
> I fixed Mac OS X access_screen module to support Lion,
Cool.

> and added option to capture secondary display.

Did you add rectangle selection too?

> Please to download patch from here:
> http://homepage.mac.com/arai_a/0001-Mac-OS-X-access_screen-support-Lion-add-Display-ID-o.patch
> (414 kB, modifying .xib file increases patch size too much... :)

Seems more or less OK.
You should use calloc instead of malloc+memset.

> On the other hand, I have no idea to avoid using CGLSetOffScreen to create offscreen context, still used.

And it does work on Lion? If so, cool.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list