summaryrefslogtreecommitdiffstats
path: root/libvo/vo_macosx.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_macosx, fix crash when closing windownplourde2006-12-101-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21567 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_macosx.m disable window animation when going to fullscreennplourde2006-12-091-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix declarations vs statements warning.diego2006-12-011-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21411 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2reynaldo2006-07-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace deprecated functionnplourde2006-04-081-20/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18058 b3059339-0415-0410-9bf9-f77b7e298cf2
* update activity every 30 secnplourde2006-03-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2
* let osx sleep if video is pausednplourde2006-02-071-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not give focus to vo_macosx in shared buffer mode. Patch by Hector ↵nplourde2006-01-111-20/+20
| | | | | | Chu<hectorchu@gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17359 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer osx shared video buffernplourde2005-09-041-30/+88
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16386 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-6/+6
| | | | | | | | return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's changed to int now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
* exit kiosk mode and show mouse cursor in uninitnplourde2005-07-281-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16146 b3059339-0415-0410-9bf9-f77b7e298cf2
* properly release windownplourde2005-07-281-2/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16145 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore window shadow when quitting fullscreen modenplourde2005-07-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16082 b3059339-0415-0410-9bf9-f77b7e298cf2
* resize video after keep aspect menu item togglenplourde2005-07-031-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15910 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix various window resizing bug with menu optionnplourde2005-07-031-5/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15903 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen menubar item behaviournplourde2005-07-011-14/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15883 b3059339-0415-0410-9bf9-f77b7e298cf2
* keep window size when changing aspectnplourde2005-06-291-11/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15856 b3059339-0415-0410-9bf9-f77b7e298cf2
* crash on autorelease, do not add to poolnplourde2005-06-291-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15855 b3059339-0415-0410-9bf9-f77b7e298cf2
* osx 10.3 dont like to have a window init with no sizenplourde2005-06-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15748 b3059339-0415-0410-9bf9-f77b7e298cf2
* set nsapp and setup cocoa with NSApplicationLoadnplourde2005-06-161-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15738 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper init of NSAppnplourde2005-06-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15737 b3059339-0415-0410-9bf9-f77b7e298cf2
* set window alphanplourde2005-06-161-2/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15732 b3059339-0415-0410-9bf9-f77b7e298cf2
* new texture framenplourde2005-06-151-15/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15730 b3059339-0415-0410-9bf9-f77b7e298cf2
* device_id flag force fullscreen devicenplourde2005-06-151-48/+50
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15729 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix gcc warningnplourde2005-06-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15728 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not realloc window while playing playlistnplourde2005-06-151-32/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15727 b3059339-0415-0410-9bf9-f77b7e298cf2
* show window only after texture creation (look better).nplourde2005-06-051-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pure cosmeticnplourde2005-06-051-12/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15648 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved event update inside cocoa openglview classnplourde2005-06-021-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Function name cleanupnplourde2005-06-021-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync swap with VBL.nplourde2005-06-021-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix pan-scan in fullscreen modenplourde2005-05-261-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15574 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix signess warningnplourde2005-05-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15572 b3059339-0415-0410-9bf9-f77b7e298cf2
* create menunplourde2005-05-251-0/+163
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15571 b3059339-0415-0410-9bf9-f77b7e298cf2
* draw resize boxnplourde2005-05-041-1/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15340 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable panscannplourde2005-05-021-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15332 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable rootwinnplourde2005-05-021-7/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15328 b3059339-0415-0410-9bf9-f77b7e298cf2
* close button exit mplayer with esc keynplourde2005-05-021-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15326 b3059339-0415-0410-9bf9-f77b7e298cf2
* add ontopnplourde2005-05-021-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15321 b3059339-0415-0410-9bf9-f77b7e298cf2
* macosx core video modulenplourde2005-04-291-0/+657
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15290 b3059339-0415-0410-9bf9-f77b7e298cf2