summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Remove explicit setting of vo_ontop since that is already done by ↵reimar2008-11-158-22/+0
| | | | | | vo_x11_create_vo_window git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27937 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a duplicated vo_x11_selectinput_witherrreimar2008-11-151-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27936 b3059339-0415-0410-9bf9-f77b7e298cf2
* respect -vf dsize etc. also for -rootwin, just like vo_xv does.reimar2008-11-151-10/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27935 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync with vo_x11: make sure we get expose events even when drawing to the ↵reimar2008-11-151-1/+2
| | | | | | root window. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a nonsensical "else" for the video mode switching case.reimar2008-11-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27929 b3059339-0415-0410-9bf9-f77b7e298cf2
* include limits.h for INT_MAX.reimar2008-11-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27927 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now unused variables.reimar2008-11-153-12/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27926 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.reimar2008-11-152-2/+2
| | | | | | | This fixes the -vm bug that the created window is too small. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) samereimar2008-11-155-59/+26
| | | | | | | boiler-plate code with them, just with different bugs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set modified window position and monitor aspect in vo_vm_switch instead of inreimar2008-11-153-5/+7
| | | | | | | individual vo drivers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27923 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of (besides useless assignments) unused XSizeHints variablereimar2008-11-151-12/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27922 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set modeline_width/height to sane values in vo_vm_switch even whenreimar2008-11-151-1/+4
| | | | | | | the XF86VidMode extension is not available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27921 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove useless "extern"reimar2008-11-151-33/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace some of the different inconsistent XGetGeometry uses by areimar2008-11-155-34/+21
| | | | | | | vo_x11_update_geometry function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless XGetGeometry call, the X11 event handling already takes ↵reimar2008-11-151-5/+0
| | | | | | care of this. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code from unused and since ages deprecated draw_frame function.reimar2008-11-152-23/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27917 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove vo_xv code that has been under #if 0 since ages.reimar2008-11-151-29/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27916 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_x11: do not replace the vo_gc created by the Gui.reimar2008-11-151-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetic changes to vo_x11 to reduce diff to vo_xv for future refactoring.reimar2008-11-151-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27914 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics for vo_x11 control() to make it more similar to vo_xv.creimar2008-11-151-8/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27913 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix grammar of comment and sync it with vo_x11.creimar2008-11-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ati-hack to work again with ATI 8.9 and later drivers.reimar2008-11-141-9/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27908 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead ofreimar2008-11-131-2/+2
| | | | | | | IMGFMT_RGB|24 and IMGFMT_BGR|24. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27907 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix Windows OpenGL -wid:reimar2008-11-111-15/+1
| | | | | | | Disable the Window instead of explicitly passing on click events. This also makes Drag-and-Drop work if the -wid window supports it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27904 b3059339-0415-0410-9bf9-f77b7e298cf2
* For fragment programs, check GL_MAX_TEXTURE_IMAGE_UNITS instead of ↵reimar2008-11-062-1/+4
| | | | | | GL_MAX_TEXTURE_UNITS. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27899 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add #include <string.h> for memset.diego2008-11-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27896 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change OpenGL support to work on unmodified MinGW64reimar2008-11-021-2/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove X11 backing store: this is now a useless flag.ben2008-10-291-2/+2
| | | | | | | | | | | | | | | Also, it is mandatory for Xserver 1.5.x (part of Xorg 7.4, shipped on all Linux distributions starting from Oct. 08) and will be removed from Xserver 1.6 anyhow ... Patch by Stephane Marchesin (marchesin at icps dot u dash strasbg dot fr). For more info, see long flame thread at: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-August/058323.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27849 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve error message when screen width and height are not set.diego2008-10-191-3/+8
| | | | | | | patch by Christian Ohm, chr.ohm gmx net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27802 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed image format detection for 15 bit color depthsfaust32008-10-171-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27796 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.diego2008-10-161-11/+11
| | | | | | | | We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.diego2008-10-162-22/+22
| | | | | | | Neither variant is valid C99 syntax, but __asm__ is the most portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move X11_FULLSCREEN definition to x11_common.h where it belongs.diego2008-10-162-3/+6
| | | | | | | config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed overlay x and y calculationfaust32008-10-161-38/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27782 b3059339-0415-0410-9bf9-f77b7e298cf2
* Honour differences between src and dst stride for packed yuvfaust32008-10-141-1/+1
| | | | | | | | patch by Laurent <laurent.aml at gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-1/+1
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Surround conditionally used function with corresponding #ifdef, fixes:diego2008-10-131-0/+2
| | | | | | | libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration, fixes the warning:diego2008-10-131-1/+0
| | | | | | | | libvo/vo_winvidix.c:52: warning: redundant redeclaration of 'hWnd' libvo/vo_winvidix.c:50: warning: previous declaration of 'hWnd' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27753 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing support for some multimedia keys to X11 backend code.diego2008-10-121-0/+9
| | | | | | | patch by Jorge Lopez, jorgelt gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace numeric constants by their defines.cehoyos2008-10-091-1/+1
| | | | | | | Fixes icc warning #188: enumerated type mixed with another type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include for mplayer.h, fixes the warning:diego2008-10-031-0/+1
| | | | | | | libvo/vo_png.c:67: warning: implicit declaration of function 'exit_player' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27687 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix glAdjustAlignment parameter in glCreateClearTexreimar2008-09-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change glCreateClearTex to use the same host data format as later uploads.reimar2008-09-204-20/+26
| | | | | | | This fixes at least some of the massive performance problems the ATI drivers have. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27653 b3059339-0415-0410-9bf9-f77b7e298cf2
* add outdir sub-option to vo pngben2008-09-201-2/+64
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27650 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove already disabled and probably long obsolete code that worked around ↵reimar2008-09-201-16/+0
| | | | | | | | | an OpenBox bug. Patch by Julien Danjou [ julien danjou info ] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27649 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use already "prefetched" atoms instead of calling XInternAtom each time.reimar2008-09-201-5/+2
| | | | | | | Patch by Julien Danjou [ julien danjou info ] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27648 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update the copyright statement.syrjala2008-09-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics:syrjala2008-09-151-143/+132
| | | | | | | | | - Convert tabs to spaces - Remove trailing whitespace - Remove useless comments git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't limit BES to non-synced single buffering when CRTC2 is used.syrjala2008-09-151-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename some variables and change some strings to make the CRTC1 code clearer.syrjala2008-09-151-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add CRTC1 support.syrjala2008-09-151-8/+112
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27622 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove BGR24 support since it has never worked anyway.syrjala2008-09-151-10/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Eliminate void * arithmetic.syrjala2008-09-151-14/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.diego2008-09-154-69/+68
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace casual GPL notices by proper license headers.diego2008-09-0714-69/+269
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header cosmeticsdiego2008-09-071-18/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27540 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header cosmeticsdiego2008-09-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove wrong compilation instructions.diego2008-09-071-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove Windows-specific #ifdefs, the file does not compile on MinGW anyway.diego2008-09-011-10/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27513 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'diego2008-09-011-1/+4
| | | | | | | preprocessor condition. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.diego2008-08-291-1/+1
| | | | | | | | | This is what it is called in FFmpeg and more consistent with other names for similar conditionals. This fixes a potential compilation failure on MinGW, as described in Bugzilla #1262. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
* -geometry support for -vo fbdev.reimar2008-08-221-0/+2
| | | | | | | Patch by Sander (thrill12 gmx net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use '#include <poll.h>' instead of '#include <sys/poll.h>'.diego2008-08-141-2/+2
| | | | | | | It is the standard location as defined by the Open Group. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27463 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l: Rename missed preprocessor directives from a HAVE_ prefix to CONFIG_.diego2008-08-141-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicated prototype for XShmGetEventBase(), becausediego2008-08-092-5/+0
| | | | | | | | | - it is used in other places without checking, - it is a workaround for a bug elsewhere, - if the problem is real at all, there should be a proper configure check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27444 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add NV12 colorspace support to VIDIX driver.ben2008-08-071-0/+32
| | | | | | | patch by Magnus Damm <magnus dot damm at gmail dot com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27430 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give a CONFIG_ prefix to preprocessor directives that lacked one anddiego2008-08-072-2/+2
| | | | | | | change arbitrary prefixes to CONFIG_. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ahem, the MACOSX_FINDER_SUPPORT directive was renamed to MACOSX_FINDER.diego2008-08-072-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27426 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename font-related preprocessor directives.diego2008-08-076-17/+17
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename all preprocessor directives related to Apple / Mac OS X.diego2008-08-061-2/+2
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename preprocessor directives related to image libraries.diego2008-08-052-7/+7
| | | | | | | Change a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of X11-specific preprocessor directives.diego2008-08-0413-77/+77
| | | | | | | Switch from a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add video driver for Nintendo Wii/GameCube.ben2008-08-032-0/+423
| | | | | | | | | | | | | | | | | | | | Original patch by Jing Liu <fatersh-1@yahoo.com>, based on vo_fbdev.c and adapted to Nintendo's specific GPU. This driver handles dedicated ATI GPU, which can be found in: - Nintendo GameCube (ATI LSI Flipper @ 162 MHz) - Nintendo Wii (ATI Hollywood @ 243 MHz)