[MPlayer-dev-eng] [PATCH] Mac OS X Finder support

Chris Roccati roccati at pobox.com
Sat Nov 6 16:14:14 CET 2004


On 6 Nov 2004, at 01:25, Nicolas Plourde wrote:
> I will look into that, Maybe the patch author can come up with 
> something.
> Anyway this patch can make thing easier for me with vo_quartz.

Here I am, with a new and revised patch.
The following files were modified:

configure
added a switch 
--enable-macosx-finder-support/--disable-macosx-finder-support so it is 
now possible to disable the patch; by default it is enabled.

libvo/vo_quartz.c
#ifdef'ed the hack to obtain foreground operation.

mplayer.c
I still need to #define the main function, and I can't do it in 
config.h because it is included in other applications too.

osdep/Makefile
added macosx_main.c to the list of objects to build (depending on the 
configure switch)

osdep/macosx_main.c
the new main and the apple event handling code, removed from mplayer.c. 
I've also replaced the homemade url handling code with the one provided 
by libmpdemux/url.c

version.sh
unrelated to this specific patch, now the version string under OSX is 
built in the same way as the other OS.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: macosx_finder.patch
Type: application/octet-stream
Size: 6600 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041106/82125649/attachment.obj>


More information about the MPlayer-dev-eng mailing list