Codderine / movist

Automatically exported from code.google.com/p/movist
GNU General Public License v3.0
0 stars 0 forks source link

Patch for /trunk/MMovieView_Image.m #241

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Lion compatibility fix.

Original issue reported on code.google.com by vczi...@gmail.com on 14 Apr 2011 at 7:20

Attachments:

GoogleCodeExporter commented 9 years ago
Haw can I apply the patch? There will be a new version of Movist soon for Lion?

Original comment by manuelai...@gmail.com on 18 Apr 2011 at 7:54

GoogleCodeExporter commented 9 years ago
Use the patch command on a fresh trunk.
Or look in the file named MMovieView_Image.m and change :
CVReturn cvRet = CVDisplayLinkCreateWithCGDisplay(_displayID, &_displayLink);
to 
CVReturn cvRet = CVDisplayLinkCreateWithActiveCGDisplays(&_displayLink);
in the initCoreVideo method.

Then edit the file named Movist.h and change :

 #define kHIWindowVisibleInAllSpaces     (1 << 8)
to

#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_5
 #define kHIWindowVisibleInAllSpaces     (1 << 8)
#endif

Then you'll be able to build Movist with XCode 4 and a 10.6 or 10.7 sdk.
I don't know if there's gonna be a build for Lion the project looks pretty dead 
to me.No source change since 2010 and nobody seems to take care of the incoming 
issues.
Anyway if you don't want to mess with compiling your own Movist take a look at 
this issue:
http://code.google.com/p/movist/issues/detail?id=235
the second comment suggests a quick fix.

Original comment by vczi...@gmail.com on 19 Apr 2011 at 3:55