Commit Graph

171 Commits

Author SHA1 Message Date
reynaldo 78417bf0dd Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with lots of corrections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 04:23:53 +00:00
reimar 7f3d9de556 Fix and improve xinerama support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-16 13:38:28 +00:00
al fb8da06ed7 Test if source image dimensions are too big.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 02:39:31 +00:00
ivo cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
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
2005-08-05 01:24:37 +00:00
reimar 85626ef1aa Try to set XV_SYNC_TO_VBLANK to enable vsync on non-overlay xv adapters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15827 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-27 10:05:39 +00:00
al 362be18be6 Make -wid behave more consistent.
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
2005-05-21 17:31:44 +00:00
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
henry fa7fe564bb more colorkey w/ panscan woes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15193 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 17:10:31 +00:00
henry 9946de0944 redraw colorkey on panscan change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15191 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 16:45:43 +00:00
al c3105be29a - fix black screen problem on reinit
- disable colorkey autopainting when painting it manually


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15187 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 15:52:03 +00:00
al bc52a8e25b Always use vo_x11_sizehint function ( even when going fullscreen ) to
reflect at least the window aspect behaviour.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14798 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 17:46:19 +00:00
al 0df8c299bd Don't change buffers when paused and redrawing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14783 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-23 12:23:44 +00:00
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