Mercurial > mplayer.hg
diff libvo/vo_quartz.c @ 13909:07dadc3066f3
add support for macosx finder argument support (let you bundle mplayer to be a finder compliant .app) patch by Chris Roccati <roccati@pobox.com>
author | nplourde |
---|---|
date | Wed, 10 Nov 2004 16:43:40 +0000 |
parents | 335778f9e6ae |
children | 866623c7ec87 |
line wrap: on
line diff
--- a/libvo/vo_quartz.c Wed Nov 10 01:45:52 2004 +0000 +++ b/libvo/vo_quartz.c Wed Nov 10 16:43:40 2004 +0000 @@ -1011,6 +1011,7 @@ } } +#ifndef MACOSX_FINDER_SUPPORT //this chunk of code is heavily based off SDL_macosx.m from SDL //it uses an Apple private function to request foreground operation @@ -1029,6 +1030,7 @@ SetFrontProcess(&myProc); } } +#endif return 0; }