summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.diego2006-07-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Software Scaler headers usage cleanuplucabe2006-06-181-8/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix window position when changing videos while in fullscreen and forreimar2006-06-151-3/+3
| | | | | | | window managers that modify position on Map. Oked by Alexander Strasser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with ↵reynaldo2006-04-241-1/+2
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportreimar2006-04-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless and memleak-causing strdupreimar2006-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-6/+6
| | | | | | | | return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's changed to int now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -wid behave more consistent.al2005-05-211-0/+5
| | | | | | | Original patch by kiriuja |mplayer-patches >ta< en-directo >tod< net| git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15541 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-7/+7
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed superfluous XFlush calls before XSync.al2004-08-201-1/+0
| | | | | | | | | Original patch by Piotr Neuman <sikkh@wp.pl> extended by Joey to cover all X11 code modified by me to only do the above stated change. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13057 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed saver_on, saver_off calls, they are already in x11_common.creimar2004-07-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
* major reindentation of x11 code try #2attila2004-06-141-462/+586
| | | | | | | | | | | | | | note that this is plain ident output, i didnt tweak it by hand like the last attempt. if anyone is interested in the indent profile i used, just drop me a mail. please contact me on irc on how to send me my share of cola, but be aware that i will only accept swiss or german cola, as the japanese is way to sweet :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12583 b3059339-0415-0410-9bf9-f77b7e298cf2
* just the same include reordering as in vo_xv (codemetics :)alex2003-12-271-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11691 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesgabucino2003-10-041-1/+1
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid flickering during resizes. Keep video contents even when paused. Fix ↵mosu2003-08-311-10/+19
| | | | | | by Tomas Simonaitis <haden@homelan.lt> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
* geometry support for x11attila2003-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10729 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_scale.h & related cleanup & some small warning fix by dominikmichael2003-06-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>alex2003-05-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscaler doesn't recognizes support for BGR1/BGR4 too, and so if forced it ↵alex2003-05-231-1/+3
| | | | | | crashes, without checking the swsContext git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10178 b3059339-0415-0410-9bf9-f77b7e298cf2
* that works correctlyalex2003-05-231-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10177 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l (YUV vs. YVU swscale fix/cleanup)michael2003-03-271-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
* sws_ prefix, more seperation between internal & external swscaler APImichael2003-02-231-7/+8
| | | | | | | sws_scale() returns the number of outputed lines git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
* The reason why mplayer crashes (in some cases) when using x11arpi2003-02-041-4/+4
| | | | | | | | | | | | | | | | | output and -wid (>0) parameter is this: Mplayer by default creates a colormap using DirectColor visual. If the window given to mplayer uses TrueColor visual there will be an error when mplayer sets the colormap for the window. This patch modifies mplayer to use TrueColor visual if the window given to mplayer uses TrueColor. Another solution is to make sure that the window given to mplayer is created using DirectColor visual if it is supported by the display. Jouni Tulkki <jitulkki@cc.hut.fi> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9279 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPlayer crash when using -wid and -vo x11 parameters.arpi2003-01-261-2/+3
| | | | | | | | I don't understand very well why my fix works. Jouni Tulkki <jitulkki@cc.hut.fi> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9116 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* here is a somewhat generic equalizer implementation for the X11 vo driversarpi2002-10-291-2/+21
| | | | | | | | | | using the window's colormap (DirectColor). this method is using the video card's hardware gamma ramp so it involves no performance penalties at all. patch by lucho <lucho@haemimont.bg> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7965 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memleakpontscho2002-10-161-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7766 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo supportpontscho2002-10-161-19/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7765 b3059339-0415-0410-9bf9-f77b7e298cf2
* since draw_slice() supports RGB/BGR, we don't need draw_image() for stridearpi2002-10-091-12/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7690 b3059339-0415-0410-9bf9-f77b7e298cf2
* - implemented draw_image()arpi2002-10-091-23/+16
| | | | | | | - removed unneeded if(!gui) from preinit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7684 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nograbpointer, based on old patch by Christian Ohm <chr.ohm@gmx.net>arpi2002-09-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the code that chooses a good X11 truecolor visual to the vo_x11 config()jkeil2002-09-031-1/+4
| | | | | | | | | | function. This is useful for framebuffers on Sun hardware, where we have multiple truecolor visuals of different depths available, and the root window typically runs at depth 8, yet there are 24 bit true color visuals available as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7257 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warningarpi2002-08-091-2/+2
| | | | | | | patch Kazunori Ueno <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
* initial window size (-xy) fixed - patch by Kazunori Ueno ↵arpi2002-07-311-1/+1
| | | | | | <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silly me, vo_x11 doesn't use my aspect code!atmos42002-07-111-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6705 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, back out hack-n-slay 8bpp code from my local tree.atmos42002-07-101-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Markus Rechberger <revenger at shell.dnload.com>:atmos42002-07-101-0/+1
| | | | | | | XMapWindow (vo_x11.c didn't map the Window after using -wid 0x....) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6694 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vm -fs -zoom fix, set correct vm screenres in aspect code (similar to xv fix).atmos42002-07-101-5/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Destroy the old win when config is called multiple timesalbeu2002-05-241-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6181 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup, gl/gl2 updated to use vo_windowarpi2002-05-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable bgr8alex2002-05-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6081 b3059339-0415-0410-9bf9-f77b7e298cf2
* bad fix removedarpi2002-05-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6064 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix Arpi's bugspontscho2002-05-121-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6060 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix Nil's vo_x11 bug (Nilmoni Deb <ndeb@ece.cmu.edu>)pontscho2002-05-111-20/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6046 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix some small bug and -rootwinpontscho2002-05-111-35/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6044 b3059339-0415-0410-9bf9-f77b7e298cf2
* some reorderarpi2002-05-091-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6026 b3059339-0415-0410-9bf9-f77b7e298cf2
* -zoom, -fs with x[11|mga|v] fix -- round twopontscho2002-05-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6017 b3059339-0415-0410-9bf9-f77b7e298cf2
* some bugfix, x[11|mga|v] ( fullscreen with more files )pontscho2002-05-081-12/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6014 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -fs and 'f'pontscho2002-05-061-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6000 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix xmga fs, resize to movie size and mouse auto hide + dgapontscho2002-05-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5956 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix aspect ratio handlingpontscho2002-05-031-57/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5946 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-19/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5936 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen (?)pontscho2002-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5836 b3059339-0415-0410-9bf9-f77b7e298cf2
* -rootwin fixed, keys work, mouse doesn'tarpi2002-04-241-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5823 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround yv12 vs. i420 'bug' of swscalearpi2002-04-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5710 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codepontscho2002-04-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* VFCAP addedarpi2002-04-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
* check depth for direct renderingarpi2002-03-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5417 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix uninit() crash if no config() callarpi2002-03-311-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix resizing when zoom is used and image size changes between frames.atmos42002-03-271-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5369 b3059339-0415-0410-9bf9-f77b7e298cf2
* print meaningfull error message instead of "hmm, arpi said that isnt used...michael2002-03-211-4/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a (more or less dummy) reference to vo_format_name(), to pull thejkeil2002-03-171-0/+2
| | | | | | | | | | | img_format.o object from libvo.a on solaris. The typical set of libvo video drivers on solaris didn't reference this symbol, but a library at the end of the link command for mplayer requires this function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5164 b3059339-0415-0410-9bf9-f77b7e298cf2
* added directrendering support and better query_formatalex2002-03-161-10/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5131 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changes in libvo's X11 supportpontscho2002-03-081-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4994 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuy2 support disabled to workaround stupid colorspace selectionmichael2002-03-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4906 b3059339-0415-0410-9bf9-f77b7e298cf2
* Corrections to position saving/restore under vo=X11.atlka2002-02-281-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4890 b3059339-0415-0410-9bf9-f77b7e298cf2
* ehh, return error if cannot open displayalex2002-02-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4828 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bugfix in x11_common.c mainly. Don't screw up the display name,albeu2002-02-231-3/+7
| | | | | | | | | don't forget to close the display (vo_xv) and to reset vo_depthonscreen when we have destroyed the window and closed the display !!!!! Open the display before using it (vo_x11) !!! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4816 b3059339-0415-0410-9bf9-f77b7e298cf2
* using vo_dx, vo_dyalex2002-02-221-31/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4814 b3059339-0415-0410