summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-0917-30/+30
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* let osx sleep if video is pausednplourde2006-02-072-30/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
* reinitialize adapter_count to 0, EnumCallbackEx will not work otherwisereimar2006-02-051-0/+1
| | | | | | | | (when playing more that one file). Fixes bug #429. Based on patch by Miguel Scaramozzino - dyingshell at yahoo com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added DPI (Print-Resolution) and Pixel-Aspect awareness to vo_jpeg.atmos42006-01-201-1/+21
| | | | | | | | | Use -noaspect if you want Square-Px AR for anamorphic content (old behaviour). Note: Many applications might ignore these settings, but they matter for print design and video editing (Tested with Photoshop). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17437 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent xvmc from been loaded before xv, and generally before any autoprobed ↵iive2006-01-181-3/+3
| | | | | | output git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17424 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid Solaris 10 compile error with gcc 3.4.5reimar2006-01-171-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17420 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.diego2006-01-135-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-124-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not give focus to vo_macosx in shared buffer mode. Patch by Hector ↵nplourde2006-01-111-20/+20
| | | | | | Chu<hectorchu@gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17359 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid some gcc 4 compiler warningsreimar2006-01-071-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17337 b3059339-0415-0410-9bf9-f77b7e298cf2
* Less ugly and easier to extend getFunctionsreimar2006-01-071-84/+50
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17336 b3059339-0415-0410-9bf9-f77b7e298cf2
* - move our setenv() fallback implementation to osdepal2005-12-261-16/+0
| | | | | | | | | | | - assert that the override param is nonzero (zero is not implemented) - correct return value type to int based on a patch by Diego fixes bugzilla bug #342 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print some error message,iive2005-12-201-1/+4
| | | | | | | as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17229 b3059339-0415-0410-9bf9-f77b7e298cf2
* support negative stride (flipping) in vo_gl.reimar2005-12-184-6/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17221 b3059339-0415-0410-9bf9-f77b7e298cf2
* move to next vo if /dev/3dfx could not be openediive2005-12-101-7/+16
| | | | | | | open it on preinit not at config time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17163 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not exit() if /dev/3dfx is not available, approved by Ivan.diego2005-12-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17161 b3059339-0415-0410-9bf9-f77b7e298cf2
* really clear frames to black instead of grey, and make sure one of thosereimar2005-12-071-5/+14
| | | | | | | | cleared frames is actually shown (and not a leftover from last film, which happened at least with ATI cards). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17129 b3059339-0415-0410-9bf9-f77b7e298cf2
* signed division must be used for calculation vo_dx and vo_dy.reimar2005-12-072-4/+4
| | | | | | | Fixes a bug that causes overbig windows to disappear on Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17128 b3059339-0415-0410-9bf9-f77b7e298cf2
* WM_PAINT is the "expose" event, not WM_ACTIVATEreimar2005-12-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17127 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't abort when xscreensaver window isn't available anymore.al2005-12-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17124 b3059339-0415-0410-9bf9-f77b7e298cf2
* Must use glFlush when doublebuffering is not usedreimar2005-12-061-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of most #ifdefsreimar2005-12-064-65/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix message handling, process resize eventsreimar2005-12-061-7/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17116 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixrathann2005-12-051-0/+1
| | | | | | | mplayer.c:509: warning: implicit declaration of function 'free_osd_list' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17101 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixrathann2005-12-051-2/+2
| | | | | | | vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17096 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_tdfxfb should be preferred over vo_3dfx.diego2005-12-011-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert previous commital2005-11-221-2/+0
| | | | | | | | | | | ``Nov 22 To mplayer-cvsl ( 32) [MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200'' - causes unneeded massive slowdown when stop-xscreensaver is used - is not consistent with the other xscreensaver functions - was commited without my approval git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17034 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use slice-height 16 as default for yuv colorspaces (only relevant if decoderreimar2005-11-221-1/+3
| | | | | | | does not support slice rendering). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17028 b3059339-0415-0410-9bf9-f77b7e298cf2
* resolves problem in module stop_xscreensaver, crashing mp after sleep and ↵ptt2005-11-211-0/+2
| | | | | | awake or enabling/disabling xssaver by hand git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17025 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also parse glX extension string, makes -vo gl:swapinterval work again on linuxreimar2005-11-191-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17020 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable border toggling for gl and gl2 under windows.reimar2005-11-173-2/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable *SwapInterval function when extensions are missing, since itreimar2005-11-131-0/+5
| | | | | | | can cause crashes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Generate double-click mouse events.joey2005-11-111-1/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16976 b3059339-0415-0410-9bf9-f77b7e298cf2
* Intercept maximize event and go into fullscreen mode.joey2005-11-111-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16974 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-103-1/+30
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* move window style to a macro for easier maintainingjoey2005-11-101-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16967 b3059339-0415-0410-9bf9-f77b7e298cf2
* Test if source image dimensions are too big.al2005-11-103-0/+52
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not call glFinish when we do not have a contextreimar2005-11-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16945 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation, use vo_fs instead of fullscreen variable. Not tested.reimar2005-11-061-8/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added translatable messages for OSD localization to help/help_mp-en.hptt2005-11-061-12/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16924 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed KEY_PREVIOUS to KEY_PREV, cause the first undefinedptt2005-11-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16897 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,albeu2005-11-028-37/+33
| | | | | | | remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l typo, nomanyfmts should be used against playback problems.reimar2005-10-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16881 b3059339-0415-0410-9bf9-f77b7e298cf2
* More consistent and sane types. Also avoids some gcc 4 warnings.reimar2005-10-313-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for remote controls.syrjala2005-10-261-4/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16865 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent among files in libvo. Since -I.. is addeddiego2005-10-231-2/+2
| | | | | | | to the CFLAGS in the Makefile this should be safe. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16842 b3059339-0415-0410-9bf9-f77b7e298cf2
* make bottom alignment the default since it's the only sane mode when sub_pos ↵rfelker2005-10-231-1/+1
| | | | | | is near bottom (default) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16840 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse incorrect sub alignment change, ok'd by diegorfelker2005-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16839 b3059339-0415-0410-9bf9-f77b7e298cf2
* The conditions for bottom (2) and top (1) subtitle alignment are reversed.diego2005-10-231-1/+1
| | | | | | | patch by Paul TT < paultt == at -- hackerjournal == dot -- it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16835 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a few more messages translatable by moving them into help_mp-en.h.diego2005-10-181-4/+2
| | | | | | | patch by Paul TT < paultt == at == hackerjournal == dot == it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Be less verbose.reimar2005-10-131-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16752 b3059339-0415-0410-9bf9-f77b7e298cf2
* use subopt parser for arguments.joey2005-10-101-55/+45
| | | | | | | | change all printf to mp_msg. update man page gif89a example. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make fragment program snprintf less confusing.reimar2005-10-031-14/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16649 b3059339-0415-0410-9bf9-f77b7e298cf2
* documentation update.reimar2005-10-012-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for ATI specific YUV->RGB conversion.reimar2005-10-012-17/+154
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing GL_REGISTER_COMBINERS_NV definereimar2005-09-271-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16609 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -panscanrange optionreimar2005-09-271-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16608 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix/improve code doxumentation. Also group gl_common functions in severalreimar2005-09-253-7/+59
| | | | | | | doxygen modules git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16596 b3059339-0415-0410-9bf9-f77b7e298cf2
* debugging/testing helpers: allow forcing a certain width/height for texturesreimar2005-09-251-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow specifying a custom (ppm) texture for texture unit 3reimar2005-09-251-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16594 b3059339-0415-0410-9bf9-f77b7e298cf2
* support loading a texture from a PPM filereimar2005-09-252-0/+62
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16593 b3059339-0415-0410-9bf9-f77b7e298cf2
* panscan supportreimar2005-09-251-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16591 b3059339-0415-0410-9bf9-f77b7e298cf2
* contrast 0 should lead to a grey, not a black imagereimar2005-09-251-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16590 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of global getProcAddress variablereimar2005-09-251-7/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support rectangular texture in fragment programsreimar2005-09-254-19/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several bugfixes:reimar2005-09-251-3/+5
| | | | | | | | | black OSD border with scaled-osd draw only used parts of image (looks weird with equalizer controls otherwise) clear borders when switching to fullscreen when using -nodouble git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16585 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crashes and green border when using YV12 input formatreimar2005-09-251-11/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16584 b3059339-0415-0410-9bf9-f77b7e298cf2
* texture units do not need to be explicitly enabled when using a fragmentreimar2005-09-251-14/+10
| | | | | | | program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing break for WM_SYSCOMMAND handling.reimar2005-09-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16500 b3059339-0415-0410-9bf9-f77b7e298cf2
* hardware color-space conversion for vo_gl and vo_gl2reimar2005-09-144-7/+759
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MMX accelerated RGB24 OSD, fixes "ugly OSD with -vo gl2".reimar2005-09-131-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16484 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow disabling the glFinish callreimar2005-09-131-5/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved glFindFormatreimar2005-09-132-5/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16475 b3059339-0415-0410-9bf9-f77b7e298cf2
* - improved performance on truecolor modesdiego2005-09-131-127/+134
| | | | | | | | - fixed all known bugs, i.e. palette mode works right again patch by Christoph Egger < Christoph_Egger -- at -- gmx -- dot -- de > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use GL_CLAMP_TO_EDGE instead of GL_CLAMP to avoid border texels being sampled.reimar2005-09-121-2/+4
| | | | | | | | This avoids some ugly effects when vo_gl2 uses multiple textures. (Note to self: read the specs instead of just copying the old code!). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix border color (forgot to divide by 255.0).reimar