summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unused variablesreimar2007-06-271-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23676 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make X11 window creation and (with -fixed-vo) management simpler and morereimar2007-06-271-38/+3
| | | | | | | | | consistent by introducing a new function that handles most of the ugly things. Changes of behaviour with some vos is unavoidable, bug reports welcome. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guidiego2007-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, last patch broke window resizing with xv and xvmc.reimar2007-03-081-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out some duplicated code in vo_xv and vo_xvmcreimar2007-03-061-61/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22479 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common vo initialization code to video_out.creimar2007-02-171-16/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sanity check for vo window dimensions, helps avoid division by zeroreimar2007-02-051-0/+2
| | | | | | | with -wid. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22148 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGTRs for libvo/aspect.c and libvo/vo_xv.ckraymer2006-11-081-14/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20781 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix window position when changing videos while in fullscreen and forreimar2006-06-151-3/+2
| | | | | | | 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
* do aspect correction of video size before calculating vo_dx and vo_dy.reimar2006-05-141-1/+1
| | | | | | | fixes misplaced video e.g. with -aspect 0.3 (window is not centered but near left border) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18510 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure black borders are drawn when switching videos with -fixed-vo.reimar2006-05-041-0/+6
| | | | | | | Alexander Strasser at LinuxTag git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18385 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/+1
| | | | | | 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-7/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Test if source image dimensions are too big.al2005-11-101-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 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
* Try to set XV_SYNC_TO_VBLANK to enable vsync on non-overlay xv adapters.reimar2005-06-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15827 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-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* more colorkey w/ panscan woeshenry2005-04-161-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15193 b3059339-0415-0410-9bf9-f77b7e298cf2
* redraw colorkey on panscan changehenry2005-04-161-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15191 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix black screen problem on reinital2005-04-161-1/+0
| | | | | | | - disable colorkey autopainting when painting it manually git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always use vo_x11_sizehint function ( even when going fullscreen ) toal2005-02-241-3/+1
| | | | | | | reflect at least the window aspect behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14798 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't change buffers when paused and redrawing.al2005-02-231-19/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14783 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unified colorkey code for vo xv and vo xvmc.al2005-02-201-34/+33
| | | | | | | | | | | | Made the code also more flexible. Colorkey drawing is now by default done as proposed by Marko Macek. Patch also approved by iive. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14743 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3 memory leaks fixediive2004-11-151-2/+7
| | | | | | | Xlib funtions allocate memory that should be freed appropriately git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13954 b3059339-0415-0410-9bf9-f77b7e298cf2
* devices.html is no more, links updated.diego2004-11-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-1/+1
| | | | | | | 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
* We don't need to support the old nvidia binary driver bug any longer.al2004-09-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed superfluous XFlush calls before XSync.al2004-08-201-2/+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-534/+748
| | | | | | | | | | | | | | 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
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* DOCS/en/ ---> DOCS/HTML/en/diego2003-10-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11184 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix some warnings (define order)pl2003-09-121-13/+21
| | | | | | | remove the static 'i' variable for the module git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10856 b3059339-0415-0410-9bf9-f77b7e298cf2
* hopefully final xv ports.attila2003-09-071-9/+20
| | | | | | | from Jim Hawkins <mplayer@jawkins.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10840 b3059339-0415-0410-9bf9-f77b7e298cf2
* adaptors are not portsattila2003-09-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10835 b3059339-0415-0410-9bf9-f77b7e298cf2
* catch negative port numbers, just in caseattila2003-09-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10831 b3059339-0415-0410-9bf9-f77b7e298cf2
* add port parameter to -vo xvattila2003-09-061-4/+23
| | | | | | | based on patch from Jean-Yves Simon <lethalwp@tiscali.be> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10827 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid flickering during resizes. Keep video contents even when paused. Fix ↵mosu2003-08-311-21/+17
| | | | | | by Tomas Simonaitis <haden@homelan.lt> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
* move xv_set_eq to x11_commoniive2003-07-011-133/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10360 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Tom Lees <tal26 (at) cam.ac.uk>attila2003-06-221-3/+5
| | | | | | | | | | | | | | | | | This patch fixes two minor problems the vo_xv driver has: 1. Starting in fullscreen e.g. (mplayer -fs dvd://1) will have a window which doesn't extend all the way down the screen unless you have a 4:3 movie. 2. Monitoraspect is not used so e.g. showing a movie when in 1280x1024 desktop looks wrong. BTW: maybe vo_xv.c should be reindented. it's getting more and more unreadable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10324 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing language suffix to DOCS/ path.diego2003-06-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10287 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed RGB24 and builtin swscaler supportalex2003-05-161-16/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10114 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fix by Raindel Shachar <raindel@techunix.technion.ac.il>alex2003-04-241-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9982 b3059339-0415-0410-9bf9-f77b7e298cf2
* clean up of -geometry code.attila2003-03-021-1/+1
| | | | | | | disabled -geometry for all but -vo xv (will be fixed later) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9518 b3059339-0415-0410-9bf9-f77b7e298cf2
* reversed small part of the r1.135 commit, it broke -fs (random black screen)arpi2003-02-091-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9382 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l debugalex2003-02-071-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9327 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo vs. panscan vs. 'f' vs. -fs fixarpi2003-01-291-5/+25
| | | | | | | patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9162 b3059339-0415-0410-9bf9-f77b7e298cf2
* conformation with apialex2003-01-191-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9028 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed calculation of OSD coordinates w/ panscanhenry2003-01-051-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for X style -geometry options (adapted from Henk's patch)mark2003-01-031-1/+1
| | | | | | | -- Mark git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8746 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l ;)colin2003-01-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8745 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, geometry always returns 1. i think this is the correct fix.rfelker2003-01-031-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8744 b3059339-0415-0410-9bf9-f77b7e298cf2
* -geometry supportarpi2003-01-031-1/+4
| | | | | | | patch by Henk <henk@god.dyndns.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8739 b3059339-0415-0410-9bf9-f77b7e298cf2
* X11 window aspect patch by Arnaud Boulan <boulan@iie.cnam.fr>attila2003-01-011-0/+2
| | | | | | | | adds 2 options: -keepaspect (default) and -nokeepaspect tested with icewm and enlightenment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8693 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
* MPlayer being unable to display video properly on many nVidia graphics cards.arpi2002-10-231-0/+13
| | | | | | | | | One approach is to always set the XV_AUTOPAINT_COLORKEY attribute if available on the XVideo port being used. patch by Ben Liblit <liblit@eecs.berkeley.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7858 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes by Dominikarpi2002-10-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7849 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memleak againpontscho2002-10-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7767 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memleakpontscho2002-10-161-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7766 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreenpontscho2002-10-161-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7759 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo support, based on patch by .so :)arpi2002-10-161-17/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7758 b3059339-0415-0410-9bf9-f77b7e298cf2
* also set VFCAP_ACCEPT_STRIDE when draw_image() is implementedarpi2002-10-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7695 b3059339-0415-0410-9bf9-f77b7e298cf2
* draw_image()arpi2002-10-091-85/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7685 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
* - fix new afm/vfm supportpontscho2002-09-281-1/+1
| | | | | | | | - fix fullscreen with xv - add cache support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7527 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-221-13/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 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
* removed old input codealex2002-08-281-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
* added forced window clearing for Xv, because on my setup (sawfish,arpi2002-08-211-0/+6
| | | | | | | | | | nvidia) there occasionally left a blue strip above the movie when switching to fullscreen. patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7057 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
* more eq cleanuparpi2002-07-251-71/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6794 b3059339-0415-0410-9bf9-f77b7e298cf2
* eq reworkedalex2002-07-251-2/+92
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6787 b3059339-0415-0410-9bf9-f77b7e298cf2
* eq reworkedalex2002-07-241-161/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6782 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix hue bug with nvidia's shit. i teszted with ↵pontscho2002-07-211-11/+27
| | | | | | g400,radeon7500,tnt2ultra,geforce2mx200 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6765 b3059339-0415-0410-9bf9-f77b7e298cf2
* DR1 with IPB fixedarpi2002-07-201-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6761 b3059339-0415-0410-9bf9-f77b7e298cf2
*