summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r27979Uoti Urpala2008-11-2212-205/+826
|\
| * Remove a aspect calculation line.reimar2008-11-212-2/+0
| | | | | | | | | | | | | | | | | | | | It is useless because with the new API enabled by VOCTRL_UPDATE_SCREENINFO it is not necessary because it is already done in video_out.c:config_video_out. Secondly, the removal of the aspect_save_prescale triggered a regression because of it, with -wid the window would not be filled completely initially. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27978 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify handling of "flags" parameterreimar2008-11-211-13/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27977 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add forgotten initialization if Flip_Flag to 0.reimar2008-11-211-0/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27976 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: typo fixesdiego2008-11-211-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27975 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix and enable panscan handling for vo_direct3dreimar2008-11-211-77/+43
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27971 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: rename variables etc. in vo_direct3d.creimar2008-11-201-253/+225
| | | | | | | | | | | | | | Patch by Georgi Petrov (gogothebee gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27962 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Factor common code like -wid handling, vo_gc creation etc. out intoreimar2008-11-199-191/+30
| | | | | | | | | | | | | | x11_common.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27961 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify conditions in direct3d vo: remove == 1, change == 0 to ! etc.reimar2008-11-191-12/+13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27959 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add missing "static" qualifiers to vo_direct3dreimar2008-11-181-18/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27957 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 100l, the video_out_drivers list must be sorted by priority, notreimar2008-11-181-3/+3
| | | | | | | | | | | | | | alphabetically. For now, vo_directx should be preferred over vo_direct3d. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27956 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Direct3D based video_out module.reimar2008-11-182-0/+755
| | | | | | | | | | | | | | | | Patch by Georgi Petrov (gogothebee gmail com) Panscan handling is still disabled and needs to be fixed for negative -panscan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27955 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Doxygen documentation for w32_common.creimar2008-11-181-0/+98
| | | | | | | | | | | | Patch by Georgi Petrov (gogothebee gmail com) with several modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27954 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27949Uoti Urpala2008-11-1714-256/+104
|\| | | | | | | | | | | | | | | | | Conflicts: common.mak libvo/vo_xv.c libvo/x11_common.c libvo/x11_common.h stream/cache2.c
| * Remove a useless XGetGeometry call, the X11 event handling alreadyreimar2008-11-171-5/+0
| | | | | | | | | | | | | | updates vo_dwidth/vo_dheight. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Get rid of (besides useless assignments) unused XSizeHints variablereimar2008-11-161-7/+0
| | | | | | | | | | | | in vo_xvmc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27942 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 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
* | Merge svn changes up to r27899Uoti Urpala2008-11-063-3/+34
|\|
| * 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
* | Merge svn changes up to r27850Uoti Urpala2008-10-301-2/+2
|\|
| * 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
* | Merge svn changes up to 27824Uoti Urpala2008-10-2513-82/+71
|\| | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h libmpcodecs/dec_video.c libmpcodecs/vd.c libvo/x11_common.h mplayer.c stream/cache2.c
| * 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'