Commit Graph

2378 Commits

Author SHA1 Message Date
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