aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_x11.c
Commit message (Collapse)AuthorAge
* 10l, missing () in check for 32bit endian-conversion hackGravatar reimar2006-12-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for different endianness on client and server with -vo x11Gravatar reimar2006-12-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align image data pointer, this is also in preparation of an upcoming patchGravatar reimar2006-12-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use XCreateImage instead of XGetImage, this is not only more correct andGravatar reimar2006-12-12
| | | | | | | | similar to the SHM case, it also eliminates the massive startup delay over ssh (at least when you have a tiny upstream). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper detection of corresponding MPlayer image format for X server format ↵Gravatar reimar2006-10-23
| | | | | | for vo_x11. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove dead code (condition can obviously never be true)Gravatar reimar2006-10-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20202 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.Gravatar diego2006-07-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscaleGravatar lucabe2006-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Software Scaler headers usage cleanupGravatar lucabe2006-06-18
| | | | 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 forGravatar reimar2006-06-15
| | | | | | | 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 ↵Gravatar reynaldo2006-04-24
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportGravatar reimar2006-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless and memleak-causing strdupGravatar reimar2006-03-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | 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, butGravatar ivo2005-08-05
| | | | | | | | 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.Gravatar al2005-05-21
| | | | | | | 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 identifiersGravatar henry2005-04-18
| | | | 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.Gravatar diego2004-10-28
| | | | | | | 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.Gravatar al2004-08-20
| | | | | | | | | 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.cGravatar reimar2004-07-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
* major reindentation of x11 code try #2Gravatar attila2004-06-14
| | | | | | | | | | | | | | 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 :)Gravatar alex2003-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11691 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityGravatar joey2003-11-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesGravatar gabucino2003-10-04
| | | | | | | 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 ↵Gravatar mosu2003-08-31
| | | | | | by Tomas Simonaitis <haden@homelan.lt> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
* geometry support for x11Gravatar attila2003-08-31
| | | | 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 dominikGravatar michael2003-06-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>Gravatar alex2003-05-30
| | | | 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 ↵Gravatar alex2003-05-23
| | | | | | crashes, without checking the swsContext git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10178 b3059339-0415-0410-9bf9-f77b7e298cf2
* that works correctlyGravatar alex2003-05-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10177 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l (YUV vs. YVU swscale fix/cleanup)Gravatar michael2003-03-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
* sws_ prefix, more seperation between internal & external swscaler APIGravatar michael2003-02-23
| | | | | | | 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 x11Gravatar arpi2003-02-04
| | | | | | | | | | | | | | | | | 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.Gravatar arpi2003-01-26
| | | | | | | | 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 insteadGravatar alex2002-11-11
| | | | 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 driversGravatar arpi2002-10-29
| | | | | | | | | | 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 memleakGravatar pontscho2002-10-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7766 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo supportGravatar pontscho2002-10-16
| | | | 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 strideGravatar arpi2002-10-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7690 b3059339-0415-0410-9bf9-f77b7e298cf2
* - implemented draw_image()Gravatar arpi2002-10-09
| | | | | | | - 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>Gravatar arpi2002-09-28
| | | | 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()Gravatar jkeil2002-09-03
| | | | | | | | | | 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 apiGravatar alex2002-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warningGravatar arpi2002-08-09
| | | | | | | 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 ↵Gravatar arpi2002-07-31
| | | | | | <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!Gravatar atmos42002-07-11
| | | | 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.Gravatar atmos42002-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Markus Rechberger <revenger at shell.dnload.com>:Gravatar atmos42002-07-10
| | | | | | | 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).Gravatar atmos42002-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Destroy the old win when config is called multiple timesGravatar albeu2002-05-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6181 b3059339-0415-0410-9bf9-f77b7e298cf2