1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
ulion
df036d0bf5 Fix a memory leak when working in shared_buffer mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25148 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 13:22:21 +00:00
ulion
4f1228ed5e Move the setCurrentTexture call into flip_page(), fix osd flicker problem.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25142 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 04:49:10 +00:00
ulion
d572315b2a Let NSApp handle events when uninit to fix the delay dealloc bug of mpGLView.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 12:01:30 +00:00
ulion
d1ba6a710e Enable ontop command from mplayer to be sent to mplayer osx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24993 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 03:49:32 +00:00
ulion
51cd2b0394 Fix the prevent system idle code. Original code also works, but not as expected.
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
2007-11-06 12:40:04 +00:00
nplourde
ffd9171d01 Fix deallocate bug which sometimes causes a crash when reinitializing.
patch by Ulion, ulion2002 gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24770 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-13 12:17:37 +00:00
nplourde
b0cfe55f12 enable fullscreen command from mplayer to be sent to mplayer osx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24718 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-07 12:15:24 +00:00
diego
cb9b67ff7f 100l typo: ENTER --> KPENTER
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24127 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 17:45:54 +00:00
diego
1c5252045e Fix KPENTER keycode value on Mac OS X.
patch by Ulion, ulion2002 gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24126 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 17:16:48 +00:00
nplourde
e627303d70 added double click support in vo_macosx. Patch by Ulion <ulion2002@gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24097 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 22:46:29 +00:00
reimar
4166de18ec Functions that do not return a value must be void
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24096 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 10:30:15 +00:00
reimar
5f377edbfb Remove duplicate extern declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24094 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 10:23:40 +00:00
reimar
6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
diego
5edd9af248 Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
nplourde
62ddcb8345 vo_macosx, fix crash when closing window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 01:38:54 +00:00
nplourde
97c7df03b7 vo_macosx.m disable window animation when going to fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 23:57:28 +00:00
diego
3aa3fbbf6c Fix declarations vs statements warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21411 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 14:58:11 +00:00
reynaldo
9d9a15d185 rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
nplourde
fd290901bb Replace deprecated function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-08 16:16:48 +00:00
nplourde
9ff365af34 update activity every 30 sec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 12:37:44 +00:00
nplourde
fa6ba9c127 let osx sleep if video is paused
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 01:36:32 +00:00
nplourde
74a12366c1 do not give focus to vo_macosx in shared buffer mode. Patch by Hector Chu<hectorchu@gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17359 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-11 02:45:17 +00:00
nplourde
0728cced47 mplayer osx shared video buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16386 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-04 12:58:16 +00:00
ivo
cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
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
2005-08-05 01:24:37 +00:00
nplourde
56d37f9817 exit kiosk mode and show mouse cursor in uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16146 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 23:18:39 +00:00
nplourde
0712baca3d properly release window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16145 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 22:19:34 +00:00
nplourde
e14d9ede2e restore window shadow when quitting fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16082 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-24 15:16:27 +00:00
nplourde
96a22de4e6 resize video after keep aspect menu item toggle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15910 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 14:28:51 +00:00
nplourde
706952e30d fix various window resizing bug with menu option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15903 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 12:24:48 +00:00
nplourde
762820ba8f fix fullscreen menubar item behaviour
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15883 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-01 17:24:31 +00:00
nplourde
c60e560af2 keep window size when changing aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15856 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 21:54:48 +00:00
nplourde
7d73ce2371 crash on autorelease, do not add to pool
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15855 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 21:49:58 +00:00
nplourde
62e993bd96 osx 10.3 dont like to have a window init with no size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15748 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-17 16:45:24 +00:00
nplourde
6f6ab3ba68 set nsapp and setup cocoa with NSApplicationLoad
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15738 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 16:41:44 +00:00
nplourde
643db0cf94 proper init of NSApp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15737 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 16:14:05 +00:00
nplourde
1b0c8682c4 set window alpha
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15732 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 00:26:47 +00:00
nplourde
40059ab93a new texture frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15730 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 21:49:50 +00:00
nplourde
1865cc057a device_id flag force fullscreen device
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15729 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 16:54:43 +00:00
nplourde
e2fab0fbc0 fix gcc warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15728 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 14:55:08 +00:00
nplourde
dbf0e226d2 do not realloc window while playing playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15727 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 14:48:33 +00:00
nplourde
3d7173df87 show window only after texture creation (look better).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15658 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 20:21:34 +00:00
nplourde
95f0894948 Pure cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15648 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 14:57:36 +00:00
nplourde
b39fbf374d Moved event update inside cocoa openglview class
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15613 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 14:19:35 +00:00
nplourde
c4d2a1e479 Function name cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 14:10:52 +00:00
nplourde
994a2b2479 Sync swap with VBL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15611 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 12:03:26 +00:00
nplourde
b9bd2fc373 Fix pan-scan in fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15574 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-26 16:33:28 +00:00
nplourde
a6158451ec fix signess warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15572 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 23:44:55 +00:00
nplourde
2b56be8a44 create menu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15571 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 23:38:59 +00:00
nplourde
d3ca3ab6e7 draw resize box
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15340 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-04 12:00:54 +00:00
nplourde
1e7905dea8 enable panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15332 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 21:17:27 +00:00