1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00
Commit Graph

2551 Commits

Author SHA1 Message Date
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
reimar
0375e5fe2b Fix typo in comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24805 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-18 12:39:59 +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
diego
f28e5871ed cosmetics: typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24764 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-11 12:22:14 +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
reimar
da6898ea62 Get rid of mp_msg_test in vo_png, only reason to use it is performance and
that is not critical here and the way it was used probably would not improve
performance anyway


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24691 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-03 11:55:30 +00:00
reimar
e57c4474d1 Use IMGFMT_IS_BGR instead of mpi->flags&MP_IMGFLAG_SWAPPED, this is easier
to understand and in this case more accurate


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24690 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-03 11:51:53 +00:00
reimar
298b92b8a2 Make a local-only variable static in vo_png
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24689 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-03 11:50:15 +00:00
diego
559699c7d4 warning fixes:
vo_directfb2.c: In function 'config':
vo_directfb2.c:499: warning: unused variable 'flip'
vo_directfb2.c:498: warning: unused variable 'zoom'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24619 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-26 02:48:37 +00:00
diego
c8ae1836e6 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-25 16:34:23 +00:00
diego
6be56dbf2e warning fix:
sub.c: In function 'vo_update_osd':
sub.c:1104: warning: suggest explicit braces to avoid ambiguous 'else'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24602 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-24 15:39:12 +00:00
diego
43bd3a468e warning fixes:
input.c: In function 'mp_input_set_section':
input.c:1640: warning: suggest parentheses around assignment used as truth value
input.c:1643: warning: suggest parentheses around assignment used as truth value
mga_common.c: In function 'mga_init':
mga_common.c:394: warning: suggest parentheses around assignment used as truth value
playtreeparser.c: In function 'parse_smil':
playtreeparser.c:523: warning: suggest parentheses around assignment used as truth value
libmpdemux/demux_ts.c: In function 'ts_parse':
libmpdemux/demux_ts.c:2795: warning: suggest parentheses around assignment used as truth value
libmpdemux/demux_ts.c: In function 'demux_open_ts':
libmpdemux/demux_ts.c:591: warning: 'frame_length' may be used uninitialized in this function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 13:16:30 +00:00
diego
02436252ca warning fix:
sub.c: In function 'vo_update_text_teletext':
sub.c:293: warning: implicit declaration of function 'GetTimer'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24398 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 11:10:50 +00:00
reimar
57d0189b48 Fix borders for xmga broken by r23675. Tested by Diego.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24368 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 13:36:13 +00:00
voroshil
641a7ddabd Implement boxes for subtitle teletext pages.
Text is shown in opaque boxes inside transparent
teletext page.




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24364 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 09:48:43 +00:00
diego
b13b7a54c2 Allow XF86AudioLowerVolume/XF86AudioRaiseVolume keys to be handled by MPlayer.
patch by Michael Mauch, michael.mauch gmx de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24343 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-05 11:09:25 +00:00
diego
7177af73f1 Move debug message to verbose output level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24341 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-04 22:57:06 +00:00
reimar
dc804a9536 Add a bicubic scaler that needs a lot more instruction but no
extra texture lookup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24338 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-04 10:46:31 +00:00
reimar
7b9f20c0ab Fix compilation after patch to remove global vo_hdc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24335 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-03 13:18:26 +00:00
reimar
e1e588421f Remove global vo_hdc, since it is recommended to release a DC as soon as possible.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24334 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-03 08:44:36 +00:00
reimar
a522f65ac2 Remove checks that in the worst case will completely break fullscreen
switching. If they are needed for something they must be done in
a more robust way.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24333 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-03 08:36:27 +00:00
reimar
5bf1615eba Make sure aspect hint is adjusted on aspect change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24332 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-03 08:33:35 +00:00
reimar
33f62a7510 Cosmetics: set vo_hint.flags at more consistent places (directly before
setting the corresponding values)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24331 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-02 22:09:55 +00:00
voroshil
b61657c12c Proper support for flashing chars in teletext pages.
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24312 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 01:22:30 +00:00
diego
a27a50733f Remove pointless forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24306 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-31 11:51:26 +00:00
diego
be2c2bdccb Purge looooong obsolete remnants of vo_fsdga.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24290 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 10:18:47 +00:00
diego
e027efe578 warning fix:
vo_tdfx_vid.c: In function 'draw_image':
vo_tdfx_vid.c:497: warning: unused variable 'stride'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24272 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:11:49 +00:00
diego
aef2dad912 warning fix:
vo_3dfx.c: In function 'create_window':
vo_3dfx.c:189: warning: implicit declaration of function 'vo_x11_classhint'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24271 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:10:00 +00:00
diego
c6c3df07cd warning fix:
vo_s3fb.c: In function 'enable':
vo_s3fb.c:131: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24270 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:08:04 +00:00
diego
a7f862037f warning fix:
font_load.c: In function 'read_font_desc':
font_load.c:56: warning: unused variable 'fstate'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24265 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 14:36:04 +00:00
diego
84157efa5a Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern
declarations by a proper header file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:20:24 +00:00
diego
2e2c64dd3a warning fix:
vo_xmga.c: At top level:
mga_common.c:212: warning: 'mga_fullscreen' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24261 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:04:36 +00:00
diego
4050debeff warning fix:
vo_directfb2.c:111: warning: 'tvnorm' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24260 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:55:53 +00:00
diego
9842c21a07 warning fix:
vo_xv.c:63: warning: redundant redeclaration of 'XShmGetEventBase'
/usr/include/X11/extensions/XShm.h:80: warning: previous declaration of 'XShmGetEventBase' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24259 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:53:51 +00:00
diego
61c0c8c88c warning fix:
vo_svga.c:57: warning: redundant redeclaration of 'query_format'
video_out_internal.h:38: warning: previous declaration of 'query_format' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24258 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:52:20 +00:00
diego
cbd64522f6 warning fix:
vo_aa.c: In function 'preinit':
vo_aa.c:664: warning: redundant redeclaration of 'aa_displayrecommended'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24257 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:51:13 +00:00
attila
1cbb8209ca Assume first xinerama screen, in case xmga could
never figure out on which screen it is.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 09:15:40 +00:00
reimar
3bcc77bea7 Fix wrong calculation of nbooleans that causes a crash on 64 bit systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 17:53:35 +00:00
diego
529d2f8030 warning fix:
vo_aa.c:89: warning: redundant redeclaration of 'aa_defparams'
/usr/include/aalib.h:371: warning: previous declaration of 'aa_defparams' was here
vo_aa.c:90: warning: redundant redeclaration of 'aa_defrenderparams'
/usr/include/aalib.h:377: warning: previous declaration of 'aa_defrenderparams' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24195 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 17:13:18 +00:00
diego
10830393d6 Remove pointless variable declaration, the code that sets it is long-gone.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24190 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:42:40 +00:00
diego
3b1f4b6167 Remove stray comment, the code it commented is long-gone.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:41:10 +00:00
diego
5606acf652 Fix warnings:
vo_directfb2.c:1296: warning: unused variable 'rect'
vo_directfb2.c:1295: warning: unused variable 'dsc'
vo_directfb2.c:1294: warning: unused variable 'tmp'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24186 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:32:20 +00:00
diego
da382ab432 Fix warning:
vo_xvidix.c:75: warning: redundant redeclaration of 'xinerama_screen'
video_out.h:193: warning: previous declaration of 'xinerama_screen' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24179 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 13:37:19 +00:00
diego
6c2ee72a4c Fix warning:
vo_dfbmga.c:231: warning: redundant redeclaration of 'uninit'
video_out_internal.h:37: warning: previous declaration of 'uninit' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24175 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 13:13:08 +00:00
diego
be4cb72ebe Fix redundant redeclaration warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24171 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:50:05 +00:00
uau
37babdb3a1 Watch X11 fd in main input select() if using vo xv
Add the X11 fd to main input select() set, and call VO check_events() if
it becomes readable. Only done in vo xv code for now, though would make
sense for other X11-based VOs too.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 04:28:17 +00:00
diego
437895cc46 Remove fallback round implementation that is protected by a preprocessor
directive that configure never sets or checks for.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24134 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:23:06 +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
1f6ab04e67 Text files must end with a newline
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 10:29:31 +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
diego
5d9b793edd Identifiers should not start with two underscores.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24066 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-15 10:34:53 +00:00
diego
2718730d2c Remove unused variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24065 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-15 09:34:53 +00:00
cehoyos
104ce10b99 Fix likely mistake when using char*.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-13 08:32:47 +00:00
diego
b39cfa205f Declare all vo_gamma variables in libvo/video_out.h and remove them from
mp_core.h to avoid some redundant redeclaration warnings.
patch by Gábor Mizda, gabrov freemail hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24047 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-12 12:21:07 +00:00
cehoyos
a8c7780402 Remove useless #include and silence warnings when compiling find_sub.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24032 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-08 10:40:17 +00:00
reimar
e58803edde Handle case where get_image is called twice without a draw_image in-between
(-vc ffmpeg12 seems to do this sometimes).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 18:29:54 +00:00
reimar
3c86a69952 Forgot to add the main vo_xvr100.c file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24005 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 17:14:38 +00:00
reimar
2824218de5 add XVR-100 vo, patch by Balatoni Denes (dbalatoni interware hu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24004 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 17:14:35 +00:00
ben
b61b018062 v4l2 audio/video outputs for linux 2.6.22+ kernels (outputs formerly known as ivtv)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23925 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 19:20:55 +00:00
voroshil
da32be7802 Teletext support
Part 4/5: teletext page rendering



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23923 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:57:39 +00:00
reimar
acad91a5d2 Set -vo gl slice-height default to 0, the current default of 4 seems
to never be much faster, but there were multiple reports where it
was a lot slower (mostly those where gl2 was faster).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23898 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:54:08 +00:00
reimar
e94b93b2c4 Use a new variable for user-supplied monitor-aspect so we can overwrite
a value generated from pixel-aspect if resolution changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23896 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:42:20 +00:00
reimar
10f6c95996 make sure update_xinerama_info is always called even when using the
window-manager fullscreen hint, so that vo_screenwidth/height are right.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23895 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:21:29 +00:00
diego
22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
attila
d1f19fc77b document "default" behaviour if CopyFromParent is passed as colormap
to vo_x11_create_vo_window()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23843 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-22 18:31:17 +00:00
attila
13f9b12dde 10l
pass colormap instead of wrong "InputOutput" to vo_x11_create_vo_window()
fixes xmga brokenness from r23675


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23842 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-22 18:27:26 +00:00
diego
8b51dfe0e2 Remove vo_syncfb, which was unused for 5 years.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23834 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-20 18:17:58 +00:00
diego
cd1f6674cd Put a compilation fix bandaid in place for the png.h issue.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-17 10:56:16 +00:00
diego
2ea4746dce Remove incomplete compilation fix bandaid.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23792 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-16 20:12:43 +00:00
diego
4ab613d1a3 bandaid compilation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23789 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-16 11:34:18 +00:00
zuxy
99cc5ec179 Use -font for subtitles when -subfont is not given, patch by kiriuja
<mplayer-patches AT en-directo DOT net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23762 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-11 10:01:54 +00:00
reimar
4c4a1070fe Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
instead of plain strlcat/strlcpy


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
diego
3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego
e2928ff729 Consistently use filenames as multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23706 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 21:23:42 +00:00
nplourde
88166aa171 bugfix intel mac vo_quartz, PlanarPixmapInfoYUV420 structure requires big-endian value. author Taihei Monma tmkk@mac.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23696 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 21:57:31 +00:00
reimar
ad164e04ee Get rid of my_memcpy_pic code duplication in many filters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23686 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 11:24:12 +00:00
reimar
a237b8b6f3 Fix vo_x11_clearwindow_part: x position is one less to avoid not clearing
a line in case of rounding error, so width must be one larger, too.
y-case is already correct.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23680 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 13:09:39 +00:00
reimar
e1057f5898 Remove some unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23676 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 10:28:38 +00:00
reimar
f131aafff1 Make X11 window creation and (with -fixed-vo) management simpler and more
consistent by introducing a new function that handles most of the
ugly things. Changes of behaviour with some vos is unavoidable, bug reports
welcome.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23675 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 10:26:13 +00:00
reimar
85f88efe84 Lots of cosmetics for gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23671 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 16:33:43 +00:00
reimar
15d418e19b Remove two unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23670 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:51 +00:00
reimar
d3bc927fc4 Remove overly complex and unused per-subtexture "dirty" handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23669 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:49 +00:00
reimar
92542f710b Remove now unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23668 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:47 +00:00
reimar
db9f690747 remove useless calloc cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23667 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:43 +00:00
reimar
467d176cd1 Remove some unused code and useless error checking that only clutters the code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23665 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:01:09 +00:00
reimar
19a1049830 Remove unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23654 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 14:11:38 +00:00
reimar
576500d6a6 Avoid vo_sdl void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23639 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:07:47 +00:00
reimar
51ffb15405 Remove completely pointless "!= 1".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23638 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:04:02 +00:00
reimar
e9506908bc Another unneeded xinerama_screen extern
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23637 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:59:53 +00:00
reimar
81863a5dd4 xinerama_screen is already declared in video_out.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23636 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:51:06 +00:00
reimar
12c23915c9 Add missing return value for x11 error handler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23635 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:46:40 +00:00
reimar
6b87db889c suboverlap_enabled is already declared in included subreader.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23626 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:06:57 +00:00
reimar
900ca33bbe vo_init is x11 specific and has no place in video_out.h.
It is already in x11_common.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23625 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:06:10 +00:00
reimar
aca679e304 Remove redundant vo_format_name, included img_format.h already provides it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23624 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:03:26 +00:00
reimar
265c1a174e Hack around some fullscreen issues with gl under Windows
(non-fullscreen window would not always return to original size).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23607 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 22:06:58 +00:00
voroshil
2f76cfc28a Revert r23530.
r23530 breaks policy: notification was not sent to mailing list,
agreements of other devs were not received.
Code also should be reviewed/cleaned up/fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-21 08:18:51 +00:00
zuxy
be09bd1c04 The audio balance feature implemented with af_pan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23588 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-20 02:26:20 +00:00
lu_zero
9c5ce32cad avoid utter breakage on non-x86, patch from Chris Roccati <roccati@at@pobox.dot.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23543 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 21:58:30 +00:00
voroshil
83a2c50ef9 Teletext support for tv:// (v4l and v4l2 only)
modified patch from Otvos Attila oattila at chello dot hu

Module uses zvbi library for all low-level  VBI operations (like I/O with vbi
device, converting vbi pages into usefull vbi_page stuctures, rendering them
into RGB32 images).

All teletext related stuff (except properties, slave commands and rendering
osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented
in tvi_vbi.c

New properties:
teletext_page - switching between pages
teletext_mode - switch between on/off/opaque/transparent modes
teletext_format - (currently read-only) allows to get format info
(black/white,gray,text)
teletext_half_page - trivial zooming (displaying top/bottom half of teletext
page)

New slave commands:
teletext_add_dec - user interface for jumping to any page by editing page number
interactively
teletext_go_link - goes though links, specified on current page



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 00:06:12 +00:00
henry
0f85b371fd set the window aspect hint
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-09 09:25:41 +00:00
reimar
5d02058b47 Do not use fast_memcpy for small size copy, esp. when the size is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +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
83ebbc9fcd Add LGPL license header.
OKed by Arpi and Michael, the authors of all non-trivial parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23403 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 17:13:52 +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
michael
5b46b234d2 HAVE_MMX1 -> HAVE_ONLY_MMX1 (makes more sense ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:45:33 +00:00
reimar
bbf95a3dcf Remove more pointless fastmemcpy.h includes in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:13:10 +00:00
rik
76f47eebd9 compilation fix: ff_ _encode added and temporarily disabled mjpeg_write_tables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23387 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 08:44:27 +00:00
ben
194fc1b15b add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 16:10:45 +00:00
reimar
b05e6e17ef Simplify -flip handling on vo_x11.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23302 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 09:06:07 +00:00
reimar
fba11c94ff Fix crash with -flip on 64 bit systems, the result of
stride*height _must_ be sign extended.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 09:03:50 +00:00
reimar
c445b76647 Factor common code out of if in x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23300 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 08:54:44 +00:00
cehoyos
a2dda036d8 Make -monitorpixelaspect 1 the default.
Patch by Onur Küçük <onur.--.-.delipenguen.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23154 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 23:16:45 +00:00
reimar
e9d5b5de07 Do not set VFCAP_EOSD_UNSCALED if we use scaled-osd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 16:10:45 +00:00
eugeni
c67220c86f Add -ass-hinting option for setting font hinting method.
It is possible to separately configure hinting for scaled and unscaled osd.
The default is native hinter for unscaled osd (only vo_gl at this point),
no hinting for vf_ass.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 14:25:36 +00:00
diego
5c9abf7f9f Gui --> gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00
diego
ba82f36061 Add Makefile variable for either internal or external VIDIX.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23086 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:19:00 +00:00
diego
a1639b42de Readd an explicit rule for Objective C files. Apparently only Apple's fork of
GNU Make has an implicit rule for Objective C.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23085 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:16:29 +00:00
uau
208d4343ef "()" to "(void)" function param list fixes
patch from Stefan Huehner, stefan huehner org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
rathann
259cfbe7e2 Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ‘mplayer_put_key’" warnings

Based on Attila's suggestions.
Approved by Uoti and Ivan.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-29 17:16:11 +00:00
iive
2e7dcb3c16 prevent building xvmc with the old api.
temporal solution until configure can handle it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-26 15:53:23 +00:00
aurel
d715b5be37 call vbeGetControllerInfo() only once
Subsequent calls would fail with some video chip (including i945)
when using -fixed-vo.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22785 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-23 00:31:29 +00:00
diego
5f6965df5d Move libav* include CFLAGS to mpcommon.mak instead of duplicating them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22735 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:49:37 +00:00
attila
01c2a013f8 cosmetics, fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22712 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 11:04:47 +00:00
attila
15121545dd allow horizontal resolutions >1024 in case we have a G550
(actualy in case mga_vid doesn't deny it)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22711 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 11:03:34 +00:00
diego
596859e524 Remove unnecessary -I option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22552 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:16:03 +00:00
diego
5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
reimar
d32650a87c forgotten lscale=2 part for gl_common.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22509 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 15:32:48 +00:00
reimar
c9c2f7332e Add a new GPU-based scaling method to vo gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22507 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 14:59:08 +00:00
reimar
61ee6f358f 100l, last patch broke window resizing with xv and xvmc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22486 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 09:42:14 +00:00
diego
196bee14d3 Fix unkown --> unkNown typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22483 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 01:31:29 +00:00
reimar
1b12836fca Factor out some duplicated code in vo_xv and vo_xvmc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22479 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 15:34:54 +00:00
reimar
bb149bb929 Simplify config by using code available in video_out.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22477 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 11:34:06 +00:00
reimar
edfdc4c0b5 Add support for tracking mouse movements.
Patch by Zuxy Meng (zuxy meng at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:20:51 +00:00
reimar
51d6a768c7 Whitespace-only cosmetics: get rid of all remaining tabs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:39:02 +00:00
reimar
ad90e64ad9 Generate resize events when size of -wid window changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:30:55 +00:00
rik
33e225943b compilation fix clip_uint8 -> av_clip_uint8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22357 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 15:07:44 +00:00
ben
c8adafcf3b support for new ivtv api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22353 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 19:08:29 +00:00
reimar
5c656ebbc8 The fragment program functions are and most likely always will be ARB-only,
so do not check for other function name variants.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22344 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 16:07:51 +00:00
reimar
510ccabfc2 10, checked for the wrong thing. Do aspect scaling only in config_video_out
if the vo responds that it supports this scheme by providing VOCTRL_UPDATE_SCREENINFO.
Fixes vo_xmga


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22342 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:35:53 +00:00
diego
8ed3ba4995 cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-22 00:18:10 +00:00
diego
e1547563a9 cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +00:00
iive
dcb8df09a2 Don't free and then allocate surfaces when config() is called again with same resolution and format.
In this case properly clean surfaces from locking flags and empty the queue.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22275 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-19 11:38:19 +00:00
reimar
baf7535196 Fix 10 in r22250, do not use screendimensions if not set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22267 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 21:24:26 +00:00
reimar
3c32a11ae5 Set classhint directly after creating window just as all other vos do, in accordance with ICCCM.
Patch by Mark Tiefenbruck [mark at fluxbox org]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22266 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 20:23:25 +00:00
reimar
187318ba5c Revert r22255 on iive's request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 20:19:47 +00:00
reimar
e77a7954de Avoid parts of xvmc reinit when source format does not change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 09:33:45 +00:00
reimar
0fe4207dfb Move common vo initialization code to video_out.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 20:58:55 +00:00
reimar
8ddb341bb7 Fix two 10l memleaks in vo_xvmc.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22221 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-15 00:46:45 +00:00
reimar
23f4a0d1e2 Avoid calling aspect on each frame and make ass subtitles work better with panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22167 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 19:26:58 +00:00
rathann
45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
kraymer
42472745ef typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:13:40 +00:00
reimar
3baddb9645 Sanity check for vo window dimensions, helps avoid division by zero
with -wid.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22148 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 17:47:43 +00:00
reimar
5f26168500 beckend -> backend typo fix in printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22147 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 17:15:44 +00:00
reimar
60a5215eca Update gl:help output a bit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22105 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 11:31:09 +00:00
lu_zero
a1fe76958b fix endianess, see bug #727
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22044 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 16:36:41 +00:00
diego
14523bd8ec fastmemcpy.h always has to include inttypes.h on systems that need it.
patch by Carl Eugen Hoyos, cehoyos ag.or at


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22021 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-26 18:43:17 +00:00
gpoirier
80c237677f get rid of void pointer arithmetic, as spotted by ICC
Original thread:
date: Jan 25, 2007 5:01 PM
subject: Re: [MPlayer-dev-eng] [PATCH] get rid of *void pointer arithemtic in libvo/fastmemcpy.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22018 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-26 09:07:55 +00:00
reimar
03429e8798 Include string.h to make sure memcpy is not used without prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22000 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 15:28:19 +00:00
diego
4f9a4a72c9 Fix FSF address and otherwise broken license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21995 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 08:02:06 +00:00
reimar
ff32ae1051 Move code to ignore mouse wheel "down" events to fifo.c (needed because
they too easily cause those "buttons" to get stuck), reducing code duplication.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 11:05:21 +00:00
diego
fa1c3630e3 grammar/spelling/wording in comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-18 09:03:42 +00:00
diego
addb047274 cosmetics: typo pallete --> palette
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21892 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-13 04:32:14 +00:00
reimar
e5e820981f Do not abort on X11 errors, most are not at all fatal.
Makes -vo x11 work over non-trusted ssh X11 forwarding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 11:57:06 +00:00