reimar
3a54af84ad
10l, aspect_save_screenres must be always called in update_xinerama_info.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18161 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 16:17:06 +00:00
reimar
2f9248f074
Register for window-manager delete window events and quit MPlayer.
...
slightly modified patch from Rickard Narstrom (rickard narstrom at gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18150 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 15:58:10 +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
reimar
02c0f0258f
new monitorpixelaspect option, esp. useful for xinerama setups with upcoming patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18106 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:50:33 +00:00
reimar
9e88af0e0c
10l, forgot to move aspect_save_screenres in last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18090 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 11:23:03 +00:00
reimar
c711faab44
correct fullscreen size
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18086 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-13 21:47:21 +00:00
reimar
9c188dbd5f
define MONITOR_DEFAULTTOPRIMARY if necessary, some mingw version seem to miss it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18082 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 20:17:07 +00:00
reimar
e29b0ea4e3
fixes and cleanup for windows fullscreen switching (restore old position,
...
fullscreen on current monitor).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18081 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 14:20:51 +00:00
reimar
d96b09cd64
fixes and cleanup for windows fullscreen switching (restore old position,
...
fullscreen on current monitor).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18080 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 14:11:26 +00:00
nplourde
fd290901bb
Replace deprecated function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-08 16:16:48 +00:00
nicodvb
ec5ad59cdb
added support for external VIDIX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17989 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-28 22:44:16 +00:00
diego
55859c930c
Remove superfluous extern variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17971 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:31:08 +00:00
diego
7416ded30b
Change 'if(verbose)' to the more appropriate mp_msg_test.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:22:48 +00:00
albeu
1bfd7289f8
NEVER assign static strings to string command line options.
...
Fix crash on exit with fontconfig.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 19:10:43 +00:00
reimar
97600b8ee0
support custom OSD colour for vo_gl.c. Based on patch by Tomas Janousek tomi at nomi cz
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17957 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 10:43:56 +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
albeu
35e90f1556
The fix in mp_msg.c avoids a core dump when iconv_open() fails, the other
...
just makes it possible to compile if USE_ICONV is undefined.
Patch by Bjorn Sandell (biorn _At_ chalmers _Dot_ se).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17932 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 02:31:29 +00:00
pacman
2857c2e4d4
Don't multiply fb_line_len by fb_pixel_size. Fixes too-low placement of OSD
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17902 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 22:24:14 +00:00
pacman
6a6fec3656
Don't try to parse fb.modes more than once. Fixes playback of multiple files
...
with mplayer -vm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 22:07:30 +00:00
reimar
33f64f9e05
extra checks on size of OSD parts (though IMHO these values should never be bad)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17876 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 21:13:13 +00:00
reimar
cf1e2325c3
do not call glDeleteTextures with 0 count, Xgl does not like it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17872 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 12:15:35 +00:00
faust3
b18fadfe63
10l the cpu hog fix broke fullscreenswitching with -wid
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17871 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 09:04:24 +00:00
faust3
7aba7b14ec
fix for MPlayer taking 100% CPU with -wid on some systems, patch by Martin Fiedler <martin.fiedler at gmx.net>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17854 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 16:52:01 +00:00
reimar
d81cb40c88
free resources when load_raw fails
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17792 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 22:20:20 +00:00
reimar
7a649cdcff
remove useless and memleak-causing strdup
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17788 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 18:05:38 +00:00
reimar
7d904048e6
initialize f to NULL, needed if desc=malloc... fails
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17767 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 10:04:05 +00:00
pacman
34e08d15ea
When centering a video with odd width, be sure to start on a pixel boundary.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17729 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 20:00:06 +00:00
diego
1cbeb57911
Make -xy help output consistent, output an empty line before and after.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17728 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 17:33:56 +00:00
nplourde
9ff365af34
update activity every 30 sec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 12:37:44 +00:00
reimar
1c45f83cac
Better fallback for APIENTRY when compiling for Windows
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17689 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-26 09:47:17 +00:00
reimar
d18baca45c
workaround for gl.h variants that do not define APIENTRY
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17669 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-23 10:18:10 +00:00
pacman
74e03a35f1
Fix colormap save/restore for directcolor fb devices
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17638 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 03:49:33 +00:00
rathann
e7db4ccf1a
Patch by Stefan Huehner / stefan % huehner ! org \
...
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.
Comments about a similar patch applied to ffmpeg:
That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter
Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
nplourde
fa6ba9c127
let osx sleep if video is paused
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 01:36:32 +00:00
reimar
7c974d1077
reinitialize adapter_count to 0, EnumCallbackEx will not work otherwise
...
(when playing more that one file). Fixes bug #429 .
Based on patch by Miguel Scaramozzino - dyingshell at yahoo com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17535 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-05 09:41:53 +00:00
diego
89d549f984
Make clean/distclean behave uniformly in all directories.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
atmos4
3cb89b0765
Added DPI (Print-Resolution) and Pixel-Aspect awareness to vo_jpeg.
...
Use -noaspect if you want Square-Px AR for anamorphic content (old behaviour).
Note: Many applications might ignore these settings, but they matter for
print design and video editing (Tested with Photoshop).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-20 01:37:15 +00:00
iive
bfd33f656b
prevent xvmc from been loaded before xv, and generally before any autoprobed output
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17424 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-18 18:11:02 +00:00
reimar
065b21ac70
avoid Solaris 10 compile error with gcc 3.4.5
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17420 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-17 20:25:42 +00:00
diego
988281c471
Update licensing information: The FSF changed postal address.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 00:23:32 +00:00
rathann
2601de4120
massive attack: mp_msg printf format fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
nplourde
74a12366c1
do not give focus to vo_macosx in shared buffer mode. Patch by Hector Chu<hectorchu@gmail.com>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17359 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-11 02:45:17 +00:00
reimar
05db92a86c
avoid some gcc 4 compiler warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17337 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-07 19:56:55 +00:00
reimar
c9c88c1530
Less ugly and easier to extend getFunctions
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-07 19:53:51 +00:00
al
fa2d1c9a69
- move our setenv() fallback implementation to osdep
...
- assert that the override param is nonzero (zero is not implemented)
- correct return value type to int
based on a patch by Diego
fixes bugzilla bug #342
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17246 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-26 03:16:48 +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
2a15e8beb8
support negative stride (flipping) in vo_gl.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17221 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 12:04:08 +00:00
iive
8ed3a2fbb0
move to next vo if /dev/3dfx could not be opened
...
open it on preinit not at config time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 22:30:30 +00:00
diego
6422fce5e2
Do not exit() if /dev/3dfx is not available, approved by Ivan.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17161 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 21:00:48 +00:00
reimar
61e33567ab
really clear frames to black instead of grey, and make sure one of those
...
cleared frames is actually shown (and not a leftover from last film, which
happened at least with ATI cards).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17129 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 16:04:14 +00:00