Commit Graph

44 Commits

Author SHA1 Message Date
iive 2e7dcb3c16 prevent building xvmc with the old api.
temporal solution until configure can handle it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-26 15:53:23 +00:00
reimar 61ee6f358f 100l, last patch broke window resizing with xv and xvmc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22486 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 09:42:14 +00:00
reimar 1b12836fca Factor out some duplicated code in vo_xv and vo_xvmc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22479 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 15:34:54 +00:00
iive dcb8df09a2 Don't free and then allocate surfaces when config() is called again with same resolution and format.
In this case properly clean surfaces from locking flags and empty the queue.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22275 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-19 11:38:19 +00:00
reimar 187318ba5c Revert r22255 on iive's request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 20:19:47 +00:00
reimar e77a7954de Avoid parts of xvmc reinit when source format does not change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 09:33:45 +00:00
reimar 0fe4207dfb Move common vo initialization code to video_out.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 20:58:55 +00:00
reimar 8ddb341bb7 Fix two 10l memleaks in vo_xvmc.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22221 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-15 00:46:45 +00:00
kraymer 42472745ef typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:13:40 +00:00
reimar 5f26168500 beckend -> backend typo fix in printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22147 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 17:15:44 +00:00
diego addb047274 cosmetics: typo pallete --> palette
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21892 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-13 04:32:14 +00:00
reimar 582d0b7cab more mp_property_deinterlace simplification, patch by
Carl Eugen Hoyos [cehoyos -at- rainbow studorg tuwien ac at]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21018 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-18 12:38:03 +00:00
reimar 7b25afd742 Add deinterlace property, patch by Carl Eugen Hoyos
(cehoyos [at] rainbow studorg tuwien ac at) with small modifications
by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20989 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-17 18:16:21 +00:00
reimar 140ee2645b Implement bob (pseudo?) deinterlacing for xvmc.
Patch from Tomas Janousek (tomi at nomi cz) with modifications by
Carl Eugen Hoyos (cehoyos at ag or at) and me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20250 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-15 18:27:34 +00:00
reynaldo 9d9a15d185 rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
reimar 37ee8c83cb Fix window position when changing videos while in fullscreen and for
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
2006-06-15 08:00:37 +00:00
reimar ae2eafeb55 do aspect correction of video size before calculating vo_dx and vo_dy.
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
2006-05-14 19:36:21 +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
diego eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
iive e813588d75 Print some error message,
as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17229 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-20 19:04:17 +00:00
reimar cbf7b3b291 remove extern for variables that are already in headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-21 01:20: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
iive b509629603 add vo_xv_enable_vsync() to xvmc
it may not be needed but at least it shouldn't hurt to have it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15867 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:57:56 +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
iive da39de73a8 Compile fix when XF86VM is not defined
patch by Ismail Donmez <ismail at kde org tr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15212 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 14:35:11 +00:00
henry 26fb4f06af messed ordering of switch branches, 10l for Ivan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15152 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 19:38:44 +00:00
iive 892980bfd0 incorporate all image drawing in single function and use fixed vo_xv_draw_colorkey() for proper key drawing.
This time panscan should be really bugfree (blackbars used to stay)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15103 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 16:30:53 +00:00
iive 62d06e5736 fix blackscreen when changing panscan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15061 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-07 16:59:34 +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 0ee2d9f9f2 Query XV_COLORKEY only when listed in attribute list, fixes displaying with non overlay ports
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14636 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-02 14:02:26 +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
iive eaa8aeddeb prevent XFree execution on wrong condition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13102 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-23 09:52:25 +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
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
iive 384474d9e3 verbosity changes, zero the whole surface_render[]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11416 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 02:07:10 +00:00
iive 633573a5de 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10715 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-28 22:11:42 +00:00
iive 1902b5896c OSD support, optinal queue, optional use of sleep(), and benchmark mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10699 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-25 21:41:10 +00:00
diego a9bcc8342c Spelling police:
Something that we do not know about is unknowN.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10609 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 12:15:44 +00:00
iive 3ad3bb2c31 nvidia 44.96 hardlock machine without that fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10500 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-29 14:11:18 +00:00
iive b8650f660d draw rectangle with color key, avoid blue bars. avoid PutSurface before 1'st image
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10498 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-28 20:04:09 +00:00
iive c8e37be59a sync to ffmpeg, updates, cleanups
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10453 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-21 21:02:34 +00:00
iive 249efeb6f0 Initial version of XVideo Motion Compensation video driver/render
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10361 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-01 21:51:57 +00:00