Commit Graph

2357 Commits

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