summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* 10l Diego, revert commit 24966.iive2007-11-041-2/+2
| | | | | | | 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
* Fix previous incorrect commit, +/- has higher precedence than shifts.diego2007-11-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some parentheses to fix the following warnings:diego2007-11-031-2/+2
| | | | | | | | 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
* Remove some pointless 'inline' qualifiersuau2007-11-011-1/+1
| | | | | | | 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
* movie player for Linux --> movie playerdiego2007-10-301-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24899 b3059339-0415-0410-9bf9-f77b7e298cf2
* move errors and a warning to help_mp-en.hcompn2007-10-301-8/+9
| | | | | | | so they can be translated. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable clear_screen function, the call to the function is commented outdiego2007-10-301-0/+2
| | | | | | | | 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
* Remove unused variables.zuxy2007-10-271-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetic fix for r24861zuxy2007-10-271-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid crash after recovering from screensaverzuxy2007-10-271-4/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24861 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of void pointer arithmetic.zuxy2007-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24845 b3059339-0415-0410-9bf9-f77b7e298cf2
* A missing break statement caused SDLK_PLUS to be triggered twice on one press.diego2007-10-221-2/+2
| | | | | | | | | 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
* Remove some unused code, fixes the following warnings:diego2007-10-211-65/+0
| | | | | | | | | | | | | | | 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
* Avoid text deformation and subtitles moving outside the screen in pan-and-scaneugeni2007-10-191-2/+2
| | | | | | | | | | | | 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
* Fix typo in commentreimar2007-10-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24805 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix deallocate bug which sometimes causes a crash when reinitializing.nplourde2007-10-131-0/+1
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24770 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typodiego2007-10-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24764 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable fullscreen command from mplayer to be sent to mplayer osxnplourde2007-10-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24718 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of mp_msg_test in vo_png, only reason to use it is performance andreimar2007-10-031-20/+10
| | | | | | | | 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
* Use IMGFMT_IS_BGR instead of mpi->flags&MP_IMGFLAG_SWAPPED, this is easierreimar2007-10-031-1/+1
| | | | | | | to understand and in this case more accurate git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24690 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a local-only variable static in vo_pngreimar2007-10-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24689 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-261-2/+0
| | | | | | | | | 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
* cosmetics: misc typo fixesdiego2007-09-252-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-241-1/+2
| | | | | | | | 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
* warning fixes:diego2007-09-131-1/+1
| | | | | | | | | | | | | | | | | 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
* warning fix:diego2007-09-101-0/+1
| | | | | | | | 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
* Fix borders for xmga broken by r23675. Tested by Diego.reimar2007-09-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement boxes for subtitle teletext pages.voroshil2007-09-081-0/+1
| | | | | | | | | | 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
* Allow XF86AudioLowerVolume/XF86AudioRaiseVolume keys to be handled by MPlayer.diego2007-09-051-0/+6
| | | | | | | patch by Michael Mauch, michael.mauch gmx de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move debug message to verbose output level.diego2007-09-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24341 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a bicubic scaler that needs a lot more instruction but noreimar2007-09-042-0/+42
| | | | | | | extra texture lookup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24338 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after patch to remove global vo_hdcreimar2007-09-033-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24335 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove global vo_hdc, since it is recommended to release a DC as soon as ↵reimar2007-09-032-9/+15
| | | | | | possible. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove checks that in the worst case will completely break fullscreenreimar2007-09-031-6/+0
| | | | | | | | 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
* Make sure aspect hint is adjusted on aspect changereimar2007-09-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24332 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: set vo_hint.flags at more consistent places (directly beforereimar2007-09-021-3/+5
| | | | | | | setting the corresponding values) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24331 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper support for flashing chars in teletext pages.voroshil2007-09-011-2/+4
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24312 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless forward declarations.diego2007-08-311-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Purge looooong obsolete remnants of vo_fsdga.diego2007-08-291-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24290 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-281-1/+0
| | | | | | | | 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
* warning fix:diego2007-08-281-0/+1
| | | | | | | | 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
* warning fix:diego2007-08-281-0/+1
| | | | | | | | 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
* warning fix:diego2007-08-281-1/+1
| | | | | | | | 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
* Clean up the way get_path is handled: Compile get_path.c to an object to linkdiego2007-08-283-6/+2
| | | | | | | | 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
* warning fix:diego2007-08-281-0/+2
| | | | | | | | 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
* warning fix:diego2007-08-281-2/+0
| | | | | | | 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
* warning fix:diego2007-08-281-2/+0
| | | | | | | | 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
* warning fix:diego2007-08-281-1/+0
| | | | | | | | 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
* warning fix:diego2007-08-281-1/+0
| | | | | | | | 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
* Assume first xinerama screen, in case xmga couldattila2007-08-281-0/+9
| | | | | | | never figure out on which screen it is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24253 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong calculation of nbooleans that causes a crash on 64 bit systemsreimar2007-08-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24247 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-251-3/+0
| | | | | | | | | | 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
* Remove pointless variable declaration, the code that sets it is long-gone.diego2007-08-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24190 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove stray comment, the code it commented is long-gone.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24188 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:diego2007-08-251-3/+3
| | | | | | | | | 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
* Fix warning:diego2007-08-251-3/+0
| | | | | | | | 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
* Fix warning:diego2007-08-251-2/+0
| | | | | | | | 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
* Fix redundant redeclaration warnings.diego2007-08-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24171 b3059339-0415-0410-9bf9-f77b7e298cf2
* Watch X11 fd in main input select() if using vo xvuau2007-08-251-0/+4
| | | | | | | | | 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
* Remove fallback round implementation that is protected by a preprocessordiego2007-08-241-7/+0
| | | | | | | directive that configure never sets or checks for. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24134 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l typo: ENTER --> KPENTERdiego2007-08-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24127 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix KPENTER keycode value on Mac OS X.diego2007-08-231-1/+1
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24126 b3059339-0415-0410-9bf9-f77b7e298cf2
* added double click support in vo_macosx. Patch by Ulion <ulion2002@gmail.com>nplourde2007-08-182-5/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Functions that do not return a value must be voidreimar2007-08-182-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Text files must end with a newlinereimar2007-08-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24095 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate extern declarationreimar2007-08-181-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24094 b3059339-0415-0410-9bf9-f77b7e298cf2
* Identifiers should not start with two underscores.diego2007-08-154-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24066 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.diego2007-08-151-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24065 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix likely mistake when using char*.cehoyos2007-08-132-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24052 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare all vo_gamma variables in libvo/video_out.h and remove them fromdiego2007-08-121-0/+1
| | | | | | | | 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
* Remove useless #include and silence warnings when compiling find_sub.c.cehoyos2007-08-081-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24032 b3059339-0415-0410-9bf9-f77b7e298cf2