Commit Graph

159 Commits

Author SHA1 Message Date
al f366d01286 Unified colorkey code for vo xv and vo xvmc.
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
2005-02-20 22:43:25 +00:00
iive b3dcfc7ec6 3 memory leaks fixed
Xlib funtions allocate memory that should be freed appropriately


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13954 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 14:56:18 +00:00
diego 56a40089dd devices.html is no more, links updated.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13915 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-11 02:24:23 +00:00
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
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
2004-10-28 01:15:53 +00:00
al 80098f9851 We don't need to support the old nvidia binary driver bug any longer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13243 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-03 20:22:22 +00:00
al 06be6b7135 Removed superfluous XFlush calls before XSync.
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
2004-08-20 09:41:13 +00:00
reimar d7d2ea1551 removed saver_on, saver_off calls, they are already in x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-25 12:49:01 +00:00
attila 0e4e21aac5 major reindentation of x11 code try #2
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
2004-06-14 04:53:03 +00:00
joey 640f93d018 runtime 'stay-on-top' functionality
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-30 16:36:10 +00:00
diego 7ea36434ae DOCS/en/ ---> DOCS/HTML/en/
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11184 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-19 21:15:23 +00:00
pl b00db67557 fix some warnings (define order)
remove the static 'i' variable for the module


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10856 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 15:50:35 +00:00
attila ee62381546 hopefully final xv ports.
from Jim Hawkins <mplayer@jawkins.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10840 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 18:58:56 +00:00
attila 2b913661bc adaptors are not ports
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10835 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 14:45:10 +00:00
attila 099887986d catch negative port numbers, just in case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10831 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 22:42:02 +00:00
attila 88c924c520 add port parameter to -vo xv
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
2003-09-06 13:40:00 +00:00
mosu 908e6a761d Avoid flickering during resizes. Keep video contents even when paused. Fix by Tomas Simonaitis <haden@homelan.lt>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 22:27:10 +00:00
iive a078b2a474 move xv_set_eq to x11_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10360 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-01 21:37:20 +00:00
attila c91a6622da Patch by Tom Lees <tal26 (at) cam.ac.uk>
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
2003-06-22 10:09:04 +00:00
diego 339e4f20af Add missing language suffix to DOCS/ path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10287 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-13 01:25:11 +00:00
alex 6ecc38f40b removed RGB24 and builtin swscaler support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10114 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-16 16:03:42 +00:00
alex 540477f9ed memleak fix by Raindel Shachar <raindel@techunix.technion.ac.il>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9982 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-24 19:07:46 +00:00
attila 6514fbb076 clean up of -geometry code.
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
2003-03-02 21:09:15 +00:00
arpi 3e718780f2 reversed small part of the r1.135 commit, it broke -fs (random black screen)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9382 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 21:35:27 +00:00
alex 4d9c92c343 10l debug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9327 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 22:15:11 +00:00
arpi e0b4adbe65 -fixed-vo vs. panscan vs. 'f' vs. -fs fix
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9162 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 20:25:01 +00:00
alex db1a1895e4 conformation with api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9028 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 16:52:00 +00:00
henry 2947415dce fixed calculation of OSD coordinates w/ panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8794 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 13:29:38 +00:00
mark 0842caf6f0 Added support for X style -geometry options (adapted from Henk's patch)
-- Mark


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8746 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 20:46:44 +00:00
colin 659dd449be 10l ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8745 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 18:33:26 +00:00
rfelker fd5f02e1ff 10l, geometry always returns 1. i think this is the correct fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8744 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 18:01:49 +00:00
arpi 90872c4792 -geometry support
patch by Henk <henk@god.dyndns.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8739 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 13:18:22 +00:00
attila 76da393f98 X11 window aspect patch by Arnaud Boulan <boulan@iie.cnam.fr>
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
2003-01-01 12:02:49 +00:00
alex 6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
arpi 51cb286928 MPlayer being unable to display video properly on many nVidia graphics cards.
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
2002-10-23 00:36:55 +00:00
arpi 4a3d6d4205 compiler warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7849 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 16:24:26 +00:00
pontscho a06c8c3796 fix memleak again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7767 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 22:53:18 +00:00
pontscho 0020017268 fix memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7766 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 22:44:09 +00:00
pontscho b4e3f138ed fix fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7759 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 19:45:35 +00:00
arpi 9214ce653c -fixed-vo support, based on patch by .so :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7758 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 19:31:07 +00:00
arpi 6a2c0db5e5 also set VFCAP_ACCEPT_STRIDE when draw_image() is implemented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7695 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-10 00:09:34 +00:00
arpi bc10853076 draw_image()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7685 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 21:26:16 +00:00
arpi dbb902acc6 -nograbpointer, based on old patch by Christian Ohm <chr.ohm@gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7540 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 20:09:14 +00:00
pontscho 253c9833b7 - fix new afm/vfm support
- fix fullscreen with xv
- add cache support


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7527 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 18:03:34 +00:00
arpi d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
alex 64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
alex 0b03ca9d27 removed old input code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 15:55:58 +00:00
arpi f294139b30 added forced window clearing for Xv, because on my setup (sawfish,
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
2002-08-21 21:23:26 +00:00
arpi 1d17fa69c3 ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warning
patch Kazunori Ueno <jagarl@creator.club.ne.jp>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-09 17:43:49 +00:00
arpi 9ba7dabbab more eq cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6794 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 20:23:18 +00:00
alex 6ee4bfccdb eq reworked
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6787 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 13:12:23 +00:00