Commit Graph

2417 Commits

Author SHA1 Message Date
diego 7596a9ad27 SYS_AMIGAOS4 --> __AMIGAOS4__
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25363 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:39:18 +00:00
reimar d055e97911 Format mapping table should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25267 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 20:43:35 +00:00
reimar c3fc57f402 Add appropriate const specifiers to some custom parse functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25260 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:40:20 +00:00
reimar 2d940f8e34 Make osd font const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25250 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:04:32 +00:00
reimar 2bf8c692f1 Mark the vo_functions_t definitions as const where possible.
This is not possible for xover and anything supporting vidix
due to horrible hacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:39:15 +00:00
reimar 844c8ffc48 Mark several uses of vo_functions_t as const to stop some of the current
hacks e.g. in vidix code from spreading.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:24:23 +00:00
reimar 909887bdbe Make vo info structs const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:06:03 +00:00
reimar 2f4b840f62 Remove last remains of long-gone VOCTRL_SCREENSHOT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25243 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:53:03 +00:00
reimar f3514ce516 Remove video_out_png extern in vo_vesa (remains of ill-advised
vo-based screenshot function).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25242 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:47:18 +00:00
reimar 1f27b0acea Remove casts that are (no longer) necessary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25241 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:38:51 +00:00
reimar c71f2478a2 Use proper type for vidix_preinit parameter instead of void *
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25240 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:37:15 +00:00
ulion e03a3223fc Support double buffering, fix osd flicker.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25208 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 04:20:38 +00:00
ulion c772daeb04 Fix play window not get actived problem on Leopard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25207 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 00:03:01 +00:00
ulion 58a471c45e Ignore empty event.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:32:08 +00:00
ivo ee6976f8d5 Proper license header.
GPL v2 or later instead of just v2.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25203 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:41:02 +00:00
ivo 3814d4ee9a Remove redundant changelog from comments
Add proper license header
Proper copyright notices


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25202 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:36:59 +00:00
ivo 1d22c3bf03 Proper license header.
Change license from strict version 2 to version 2 or later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25201 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:33:18 +00:00
ivo 967fe08c6a Remove redundant changelog comments. There's always svn log.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25200 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:31:50 +00:00
ulion e3c9524d66 Set protocol for the vo proxy used in shared-buffer mode.
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
2007-11-28 00:01:35 +00:00
ulion 3208da3545 Fix warning on Leopard, tested ok on Tiger:
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
2007-11-26 03:06:16 +00:00
ulion e876561a9e Fix warning:
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
2007-11-26 02:57:02 +00:00
ulion 9ba75c2ccf Fix memory leak of image_data.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25149 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 13:46:38 +00:00
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
diego 4bb3d604d5 main() --> main(void)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:22:33 +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 c90770493c Handle mouse up event to get double click support from mp_fifo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24986 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-07 01:44:41 +00:00
ulion 58ecb061ad Fix mouse right button and middle button incorrect identifications.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24984 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 15:57:36 +00:00
ulion 7ce42e4ebb Fix KPENTER keycode value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24983 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 13:17:37 +00:00
ulion ac78bc4eca 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@24982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:52:54 +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
ulion 3fd8eb3f8e Warning fixes:
vo_quartz.c:537: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:539: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:551: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:578: warning: ISO C90 forbids mixed declarations and code
vo_quartz.c:1126: warning: ISO C90 forbids mixed declarations and code
vo_quartz.c:1363: warning: passing argument 7 of 'BeginFullScreen' makes integer from pointer without a cast
vo_quartz.c:1393: warning: passing argument 2 of 'EndFullScreen' makes integer from pointer without a cast
vo_quartz.c:1402: warning: passing argument 2 of 'SetSystemUIMode' makes integer from pointer without a cast




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24980 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:12:48 +00:00
diego 808e6280d2 cosmetics: output grammar/spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24979 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:54:58 +00:00
diego a75c9a6527 cosmetics: Comment grammar and spelling fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24978 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:49:55 +00:00
diego 6397fe4346 Reduce excessive verbosity: Move debug messages to the appropriate MSGL
and comment out the silliest ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24977 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:41:38 +00:00
iive 1479f405f6 10l Diego, revert commit 24966.
We do not have policy of restoring bugs when bug is fixed by accident.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24967 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 23:39:05 +00:00
diego 3d6a73e3e5 Fix previous incorrect commit, +/- has higher precedence than shifts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 13:41:07 +00:00
diego 0e4b5d10db Add some parentheses to fix the following warnings:
vo_directfb2.c:1189: warning: suggest parentheses around + or - inside shift
vo_directfb2.c:1190: warning: suggest parentheses around + or - inside shift


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 20:25:00 +00:00
uau 5bfedc0a2d Remove some pointless 'inline' qualifiers
Most of these functions aren't even used in the same translation unit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24918 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:52:10 +00:00
diego 14c25c122f movie player for Linux --> movie player
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24899 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 17:39:55 +00:00
compn 82eef16f4d move errors and a warning to help_mp-en.h
so they can be translated.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24892 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 13:15:41 +00:00
diego 8136f60409 Disable clear_screen function, the call to the function is commented out
due to buggyness. Fixes the warning:
vo_tdfx_vid.c:78: warning: 'clear_screen' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24890 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 08:55:29 +00:00
zuxy c6f82fa13f Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24868 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 13:00:58 +00:00
zuxy a916b0cf0e Cosmetic fix for r24861
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24863 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:37:26 +00:00
zuxy e88e5849d3 Avoid crash after recovering from screensaver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24861 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:24:08 +00:00
zuxy 36df407647 Get rid of void pointer arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24845 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-23 08:28:11 +00:00
diego 3cb11cbe20 A missing break statement caused SDLK_PLUS to be triggered twice on one press.
patch by Michael Mauch, michael.mauch gmx de
Subject: [MPlayer-dev-eng] [PATCH] Add two breaks in the key handling of vo_sdl
Date: Tue, 23 Oct 2007 00:04:20 +0200


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24842 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 22:42:47 +00:00
diego bd543ced4c Remove some unused code, fixes the following warnings:
vosub_vidix.c: At top level:
vosub_vidix.c:199: warning: 'vidix_draw_slice_410_fast' defined but not used
vosub_vidix.c:211: warning: 'vidix_draw_slice_400' defined but not used
vosub_vidix.c:365: warning: 'vidix_get_video_eq' defined but not used
vosub_vidix.c:371: warning: 'vidix_set_video_eq' defined but not used
vosub_vidix.c:377: warning: 'vidix_get_num_fx' defined but not used
vosub_vidix.c:383: warning: 'vidix_get_oem_fx' defined but not used
vosub_vidix.c:389: warning: 'vidix_set_oem_fx' defined but not used
vosub_vidix.c:395: warning: 'vidix_set_deint' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24828 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 12:56:22 +00:00
eugeni 92efd606d1 Avoid text deformation and subtitles moving outside the screen in pan-and-scan
mode.

For this, crop amounts are passed from vo_gl as negative margins sizes. They
are used to calculate aspect ratio. They are ignored when calculating subtitle
 positions, so subtitles will stay on screen most of the time.
Based on a patch by Jindrich Makovicka [makovick gmail com].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24815 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-19 18:16:23 +00:00