summaryrefslogtreecommitdiffstats
path: root/libvo/vo_macosx.m
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r28951Uoti Urpala2009-03-141-15/+10
|\
| * cosmetics: spelling fixesdiego2009-03-071-7/+7
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28872 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Reformat file header.diego2009-03-071-8/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28871 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28537Uoti Urpala2009-02-121-0/+18
|\|
| * Add standard license headers, unify header formatting.diego2009-02-081-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28341Uoti Urpala2009-01-191-7/+6
|\| | | | | | | | | | | Conflicts: configure libmpcodecs/native/rtjpegn.c
| * fix device_id option after r28165gpoirier2009-01-181-7/+6
| | | | | | | | | | | | | | | | | | | | patch by Adrian Stutz %adrian A sttz P ch% Original thread: date Fri, Jan 9, 2009 at 4:03 PM subject [MPlayer-dev-eng] [PATCH] vo_macosx: fix device_id option after r28165 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28341 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28310Uoti Urpala2009-01-151-6/+25
|\| | | | | | | | | | | | | | | The libdvdread4 and libdvdnav directories, which are externals in the svn repository, are at least for now not included in any form. I added configure checks to automatically disable internal libdvdread and libdvdnav if the corresponding directories are not present; if they're added manually then things work the same as in svn.
| * Fix deinit problem due to r28215gpoirier2009-01-031-2/+4
| | | | | | | | | | | | | | | | | | original thread: date: Fri, Jan 2, 2009 at 10:00 PM subject: [PATCH] Fix deinit problem due to r28215 (was Re: [MPlayer-cvslog] r28215 - in trunk: DOCS/man/en/mplayer.1 libvo/vo_macosx.m) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28239 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add an option to vo_macosx to set a custom buffer_name.gpoirier2008-12-301-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to have multiple instances of MPlayerOSX running without stepping on each other's toes. Patch by Adrian Stutz % adrian A sttz P ch % Original thread: date: Tue, Dec 9, 2008 at 2:46 PM subject: [MPlayer-dev-eng] [PATCH] vo_macosx: option to set shared buffer name to allow multiple instances git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28215 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28176Uoti Urpala2008-12-221-22/+24
|\| | | | | | | | | | | Conflicts: libvo/video_out.c libvo/x11_common.c
| * Replace vo_macosx's custom options parsing with a subopt_parse()-based onegpoirier2008-12-191-22/+24
| | | | | | | | | | | | | | | | | | | | | | (in the same way as vo_gl). Patch by Adrian Stutz %adrian A sttz P ch% Original thread: date: Tue, Dec 9, 2008 at 3:20 PM subject: Re: [MPlayer-dev-eng] [PATCH] vo_macosx: option to set shared buffer name to allow multiple instances git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28165 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28149Uoti Urpala2008-12-141-1/+3
|\|
| * Add missing unistd.h #include, fixes the warning:diego2008-12-081-0/+1
| | | | | | | | | | | | | | libvo/vo_macosx.m:177: warning: implicit declaration of function 'ftruncate' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28111 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unused variable, fixes the warning:diego2008-12-081-1/+0
| | | | | | | | | | | | | | libvo/vo_macosx.m:735: warning: unused variable 'lastTime' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28110 b3059339-0415-0410-9bf9-f77b7e298cf2
| * #include appropriate headers instead of locally declaring function prototypes.diego2008-12-081-3/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28109 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Get rid of pointless 'extern' keywords.diego2008-12-031-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28065Uoti Urpala2008-12-021-27/+39
|\|
| * use mmap instead of shmat for MPlayerOSX, patch by Adrian Stutz<adrian@sttz.ch>nplourde2008-11-301-17/+32
| | | | | | | | | | | | | | | | | | Original thread: date: Sun, Oct 12, 2008 at 10:32 PM subject: [MPlayer-dev-eng] [PATCH] vo_macosx: use mmap instead of shmat for MPlayerOSX git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28050 b3059339-0415-0410-9bf9-f77b7e298cf2
| * factorize mouse hiding and screensaver disabling codegpoirier2008-11-271-10/+7
| | | | | | | | | | | | | | | | | | | | Based on the patch posted in thread: from Gregor Riepl %onitake A gmail P com% date: Wed, Oct 29, 2008 at 7:26 PM subject: Re: [MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28044 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28038Uoti Urpala2008-11-251-4/+8
|\|
| * typo fix + readability improvementgpoirier2008-11-251-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28035 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Allow vo_macosx to be compiled in 64-bits mode:gpoirier2008-11-241-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace usage of undocumented Apple function CPSEnableForegroundOperation() (which is available in 32-bits mode, but not in 64-bits mode) by TransformProcessType() which is public, documented, and available since OSX 10.3. - Work around Apple bug #6267445 since OSServices Power API is diabled in 64-bits systems Based on patch by Gregor Riepl %onitake A gmail P com% posted in thread: date: Fri, Oct 3, 2008 at 4:49 PM subject: Re: [MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28022 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27441Uoti Urpala2008-08-081-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h command.c configure input/input.c libmpcodecs/dec_video.c libmpcodecs/vd.c libmpdemux/stheader.h libvo/sub.c libvo/video_out.c libvo/vo_xv.c libvo/vosub_vidix.c libvo/x11_common.c libvo/x11_common.h mp_core.h mplayer.c stream/stream.h
| * Give a CONFIG_ prefix to preprocessor directives that lacked one anddiego2008-08-071-1/+1
| | | | | | | | | | | | | | change arbitrary prefixes to CONFIG_. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Ahem, the MACOSX_FINDER_SUPPORT directive was renamed to MACOSX_FINDER.diego2008-08-071-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27426 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change a bunch of video/audio-output-specific preprocessor directives fromdiego2008-08-031-2/+2
| | | | | | | | | | | | | | a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26979Uoti Urpala2008-06-041-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the conflicts are trivial. Conflicts: Makefile cfg-mplayer.h input/input.c libmenu/vf_menu.c libmpcodecs/dec_video.c libmpcodecs/vf_expand.c libmpcodecs/vf_vo.c libmpdemux/demux_mkv.c libmpdemux/demuxer.c libmpdemux/demuxer.h libvo/vo_directfb2.c libvo/vo_gl.c libvo/vo_winvidix.c libvo/vo_xv.c libvo/vo_xvidix.c libvo/vo_xvmc.c libvo/x11_common.c mplayer.c osdep/timer-linux.c stream/cache2.c
| * cosmetics: Remove useless parentheses from from return statements.diego2008-05-161-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
* | libvo: Move aspect.c static variables to vo structUoti Urpala2008-05-011-1/+0
| | | | | | | | This moves non-option variables. aspect.c still defines option globals.
* | input: Move cmd_queue to context structUoti Urpala2008-04-301-1/+1
| | | | | | | | Menu instances now also need a input context pointer to queue commands.
* | vo_macosx: Include header instead of "extern ..."Uoti Urpala2008-04-291-2/+1
| |
* | vo_macosx.m: Fix compilation after recent changesUoti Urpala2008-04-291-2/+1
| | | | | | | | This .m file had not been updated during other VO changes.
* | Add context variable to vo_draw_text callbackUoti Urpala2008-04-231-1/+0
|/ | | | | Add a context variable and rename the function to osd_draw_text. Create a new vo_draw_text that is a wrapper for VOs using old API.
* Do not send mouse movements events in root win mode.ulion2007-12-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support send mouse movements commands to mplayer.ulion2007-12-201-2/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25474 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use NSMakeRect and NSRect in correct way:ulion2007-12-181-5/+5
| | | | | | | The third parameter is width, the fouth parameter is height. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong code in last commit.ulion2007-12-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25451 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mouse button mapping:ulion2007-12-181-2/+8
| | | | | | | MOUSE_BTN1 is middle buttion, MOUSE_BTN2 is right button. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Record screen size and display size in vo_ variables.ulion2007-12-171-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25442 b3059339-0415-0410-9bf9-f77b7e298cf2
* screen_frame is only used for fullscreen mode.ulion2007-12-171-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support double buffering, fix osd flicker.ulion2007-11-301-4/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25208 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix play window not get actived problem on Leopard.ulion2007-11-301-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore empty event.ulion2007-11-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set protocol for the vo proxy used in shared-buffer mode.ulion2007-11-281-6/+19
| | | | | | | | | | | | | | | | | | | | NOTE: You have to update your mplayerosx to svn r148 or newer to work with it. This change will speed up vo proxy and fix all these warnings: vo_macosx.m: In function 'config': vo_macosx.m:165: warning: 'NSProxy' may not respond to '-startWithWidth:withHeight:withBytes:withAspect:' vo_macosx.m:165: warning: (Messages without a matching method signature vo_macosx.m:165: warning: will be assumed to return 'id' and accept vo_macosx.m:165: warning: '...' as arguments.) vo_macosx.m: In function 'flip_page': vo_macosx.m:183: warning: 'NSProxy' may not respond to '-render' vo_macosx.m: In function 'uninit': vo_macosx.m:235: warning: 'NSProxy' may not respond to '-stop' vo_macosx.m: In function 'control': vo_macosx.m:334: warning: 'NSProxy' may not respond to '-ontop' vo_macosx.m:336: warning: 'NSProxy' may not respond to '-toggleFullscreen' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25185 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning on Leopard, tested ok on Tiger:ulion2007-11-261-1/+1
| | | | | | | | vo_macosx.m: In function '-[MPlayerOpenGLView config]': vo_macosx.m:387: warning: passing argument 1 of 'setValues:forParameter:' from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:ulion2007-11-261-1/+2
| | | | | | | vo_macosx.m:251: warning: ISO C90 forbids mixed declarations and code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak of image_data.ulion2007-11-231-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a memory leak when working in shared_buffer mode.ulion2007-11-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the setCurrentTexture call into flip_page(), fix osd flicker problem.ulion2007-11-231-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25142 b3059339-0415-0410-9bf9-f77b7e298cf2
* Let NSApp handle events when uninit to fix the delay dealloc bug of mpGLView.ulion2007-11-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25106 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable ontop command from mplayer to be sent to mplayer osx.ulion2007-11-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the prevent system idle code. Original code also works, but not as expected.ulion2007-11-061-2/+1
| | | | | | | | The update function was always called, but it should only be called every 30 seconds. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix deallocate bug which sometimes causes a crash when reinitializing.nplourde2007-10-131-0/+1
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24770 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable fullscreen command from mplayer to be sent to mplayer osxnplourde2007-10-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24718 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l typo: ENTER --> KPENTERdiego2007-08-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24127 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix KPENTER keycode value on Mac OS X.diego2007-08-231-1/+1
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24126 b3059339-0415-0410-9bf9-f77b7e298cf2
* added double click support in vo_macosx. Patch by Ulion <ulion2002@gmail.com>nplourde2007-08-181-5/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Functions that do not return a value must be voidreimar2007-08-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate extern declarationreimar2007-08-181-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24094 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-1/+1
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-1/+0
| | | |