Commit Graph

2238 Commits

Author SHA1 Message Date
reimar d32650a87c forgotten lscale=2 part for gl_common.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22509 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 15:32:48 +00:00
reimar c9c2f7332e Add a new GPU-based scaling method to vo gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22507 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 14:59:08 +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
diego 196bee14d3 Fix unkown --> unkNown typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22483 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 01:31:29 +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
reimar bb149bb929 Simplify config by using code available in video_out.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22477 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 11:34:06 +00:00
reimar edfdc4c0b5 Add support for tracking mouse movements.
Patch by Zuxy Meng (zuxy meng at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:20:51 +00:00
reimar 51d6a768c7 Whitespace-only cosmetics: get rid of all remaining tabs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:39:02 +00:00
reimar ad90e64ad9 Generate resize events when size of -wid window changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:30:55 +00:00
rik 33e225943b compilation fix clip_uint8 -> av_clip_uint8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22357 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 15:07:44 +00:00
ben c8adafcf3b support for new ivtv api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22353 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 19:08:29 +00:00
reimar 5c656ebbc8 The fragment program functions are and most likely always will be ARB-only,
so do not check for other function name variants.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22344 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 16:07:51 +00:00
reimar 510ccabfc2 10, checked for the wrong thing. Do aspect scaling only in config_video_out
if the vo responds that it supports this scheme by providing VOCTRL_UPDATE_SCREENINFO.
Fixes vo_xmga


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22342 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:35:53 +00:00
diego 8ed3ba4995 cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-22 00:18:10 +00:00
diego e1547563a9 cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +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 baf7535196 Fix 10 in r22250, do not use screendimensions if not set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22267 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 21:24:26 +00:00
reimar 3c32a11ae5 Set classhint directly after creating window just as all other vos do, in accordance with ICCCM.
Patch by Mark Tiefenbruck [mark at fluxbox org]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22266 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 20:23:25 +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
reimar 23f4a0d1e2 Avoid calling aspect on each frame and make ass subtitles work better with panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22167 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 19:26:58 +00:00
rathann 45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +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 3baddb9645 Sanity check for vo window dimensions, helps avoid division by zero
with -wid.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22148 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 17:47:43 +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
reimar 60a5215eca Update gl:help output a bit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22105 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 11:31:09 +00:00
lu_zero a1fe76958b fix endianess, see bug #727
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22044 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 16:36:41 +00:00
diego 14523bd8ec fastmemcpy.h always has to include inttypes.h on systems that need it.
patch by Carl Eugen Hoyos, cehoyos ag.or at


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22021 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-26 18:43:17 +00:00
gpoirier 80c237677f get rid of void pointer arithmetic, as spotted by ICC
Original thread:
date: Jan 25, 2007 5:01 PM
subject: Re: [MPlayer-dev-eng] [PATCH] get rid of *void pointer arithemtic in libvo/fastmemcpy.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22018 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-26 09:07:55 +00:00
reimar 03429e8798 Include string.h to make sure memcpy is not used without prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22000 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 15:28:19 +00:00
diego 4f9a4a72c9 Fix FSF address and otherwise broken license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21995 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 08:02:06 +00:00
reimar ff32ae1051 Move code to ignore mouse wheel "down" events to fifo.c (needed because
they too easily cause those "buttons" to get stuck), reducing code duplication.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 11:05:21 +00:00
diego fa1c3630e3 grammar/spelling/wording in comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-18 09:03:42 +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 e5e820981f Do not abort on X11 errors, most are not at all fatal.
Makes -vo x11 work over non-trusted ssh X11 forwarding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 11:57:06 +00:00
reimar 380a752a06 Use av_d2q to produce the fps fraction, this usually produces more sane fractions
and works right also for extreme values that otherwise would over- or underflow.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21823 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 19:41:41 +00:00
reimar 275f89e3cd Fix printf types: AVRational members are ints, not 64 bit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21822 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 19:33:03 +00:00
ben c796e21e3c don't fatal if saving vesa state failed (this always fails on qemu, with this patch vesa now works under qemu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21818 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:07:42 +00:00
diego 084a5d01b5 Amiga OS 4 support
patch by Andrea Palmatè, andrea amigasoft net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21750 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-23 23:27:01 +00:00
rik cf122d037c compilation fixes: define always_inline and don't use uint64_t_C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21740 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-23 13:18:43 +00:00
reimar 466a129496 Remove duplicate vo_sub extern definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21715 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-21 16:43:21 +00:00
reimar 29a164309f Fix compilation under MinGW with X11 enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21647 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-17 12:33:09 +00:00
reimar c825b672f5 Get rid of completely useless includes that in addition hinder compilation
on MinGW


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21639 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-16 21:24:12 +00:00
ods15 6b64c8274e gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21622 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 08:20:05 +00:00
reimar 2025452bd0 10l, missing () in check for 32bit endian-conversion hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21615 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-14 18:14:57 +00:00
reimar b333ae1922 Support for different endianness on client and server with -vo x11
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21602 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-12 19:13:48 +00:00
reimar ba288eb9b0 Align image data pointer, this is also in preparation of an upcoming patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21601 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-12 19:03:57 +00:00
reimar fa9a9cb0e3 Use XCreateImage instead of XGetImage, this is not only more correct and
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
2006-12-12 18:43:10 +00:00