Commit Graph

27922 Commits

Author SHA1 Message Date
reimar af366bff51 Direct3D based video_out module.
Patch by Georgi Petrov (gogothebee gmail com)
Panscan handling is still disabled and needs to be fixed for negative
-panscan.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27955 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 12:23:42 +00:00
reimar 04d6de5ee2 Doxygen documentation for w32_common.c
Patch by Georgi Petrov (gogothebee gmail com) with several modifications by me.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27954 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 12:23:23 +00:00
bircoph 8af43b7cc2 On OpenBSD socklen_t is defined at sys/types.h, so latter is added
to the header search path.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27953 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 09:41:31 +00:00
reynaldo de51092d28 Trivial, Cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27952 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 03:41:54 +00:00
reynaldo bbeb30af8d Trivial, Cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27951 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 03:17:11 +00:00
reynaldo 10da4a69c5 Add some more missing messages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27950 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 03:06:27 +00:00
reimar 409bb1c5da 100l, missing ' s' in sed command, probably caused all decoders to be
disabled when zlib is not available.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27949 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 18:20:20 +00:00
diego c184fe7b07 Only enable CONFIG_FFT_MMX if both yasm and MMX are enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27948 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 15:25:33 +00:00
diego 26a4b02417 Set _have_yasm to "no" if yasm detection failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27947 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 15:02:24 +00:00
reimar 330e951cf0 Remove a useless XGetGeometry call, the X11 event handling already
updates vo_dwidth/vo_dheight.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 13:12:01 +00:00
diego f76cb1f891 Put variable declaration inside an #ifdef to avoid an unused variable warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27945 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 10:33:59 +00:00
cehoyos 7a7b3d95e3 Allow compilation with icc 10.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27944 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 10:16:28 +00:00
diego beac5410ae Fix build: Remove some references to sections that no longer exist.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27943 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 23:59:47 +00:00
reimar d12df3ab12 Get rid of (besides useless assignments) unused XSizeHints variable
in vo_xvmc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27942 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 17:16:08 +00:00
reimar 21303cd0ad Fix missing -DARCH_X86_64 for yasm on x86_64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27941 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 16:59:17 +00:00
bircoph 29f16f45f1 Add yasm support to the build system.
This allows to use yasm assembler optimizations from FFmpeg code,
in particular, from libavcodec/fft.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27940 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 13:04:16 +00:00
Gabrov 30e93ced32 synced with r27938
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27939 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 12:20:14 +00:00
reimar 49eb5ef4dd Use 64 bit numbers for file positions in the seek function in audio demuxer.
Hopefully fixes seeking in wav files in-between 2 and 4 GB.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27938 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 10:20:58 +00:00
reimar 8cc27a3561 Remove explicit setting of vo_ontop since that is already done by vo_x11_create_vo_window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27937 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 23:09:31 +00:00
reimar f5ce35ec8c Remove a duplicated vo_x11_selectinput_witherr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27936 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:49:49 +00:00
reimar 554ce917df respect -vf dsize etc. also for -rootwin, just like vo_xv does.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27935 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:48:41 +00:00
bircoph afa2147441 Fix phrase to maintain consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27934 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:34:41 +00:00
reimar 936420385a Sync with vo_x11: make sure we get expose events even when drawing to the root window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27933 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:33:36 +00:00
bircoph 7f98aecaa5 Synced with r26763.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27932 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:25:11 +00:00
gpoirier 5dd1c3e739 On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,
use cpuinfo instead.
This allows MPlayer to get one step closer to building in 64 bits mode on Darwin,
if one passes --target=x86_64-darwin to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27931 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 20:37:08 +00:00
reimar 7ecf9a6d04 100l, stream->cache_pid can not be used directly in pthread_create,
it has the wrong type. Luckily we currently do not need the value anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27930 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:43:39 +00:00
reimar 39e42b26e9 Remove a nonsensical "else" for the video mode switching case.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27929 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:14:09 +00:00
reimar ca77ee41f0 Use pthreads for the cache on Cygwin, since _beginthread is not available
and the previous CreateThread method would probably leak memory here, too.
Also pthreads seems to be the official Cygwin threading API.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27928 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:08:50 +00:00
reimar 4fa4e8744d include limits.h for INT_MAX.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27927 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:06:25 +00:00
reimar 55175c457d Remove now unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27926 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:03:21 +00:00
reimar 21040bb951 Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.
This fixes the -vm bug that the created window is too small.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27925 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:58:14 +00:00
reimar 4b9ee2e206 Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) same
boiler-plate code with them, just with different bugs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27924 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:56:25 +00:00
reimar c8d9e2eb60 Set modified window position and monitor aspect in vo_vm_switch instead of in
individual vo drivers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27923 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:28:35 +00:00
reimar f2bceedc49 Get rid of (besides useless assignments) unused XSizeHints variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27922 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:14:03 +00:00
reimar ebff32237b Set modeline_width/height to sane values in vo_vm_switch even when
the XF86VidMode extension is not available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27921 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:11:10 +00:00
reimar 8b0b5bee77 Cosmetics: remove useless "extern"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27920 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 17:48:27 +00:00
reimar 87bee02b19 Replace some of the different inconsistent XGetGeometry uses by a
vo_x11_update_geometry function.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27919 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 17:45:55 +00:00
reimar 252f6d5093 Remove a useless XGetGeometry call, the X11 event handling already takes care of this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27918 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 17:41:30 +00:00
reimar 18fac2d947 Remove code from unused and since ages deprecated draw_frame function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27917 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 16:40:48 +00:00
reimar eb4f31f73b Remove vo_xv code that has been under #if 0 since ages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27916 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 16:36:39 +00:00
reimar 08367541bc vo_x11: do not replace the vo_gc created by the Gui.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27915 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 16:34:44 +00:00
reimar 60b5834701 Cosmetic changes to vo_x11 to reduce diff to vo_xv for future refactoring.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27914 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 15:50:47 +00:00
reimar e0a4769570 Cosmetics for vo_x11 control() to make it more similar to vo_xv.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27913 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 14:24:32 +00:00
reimar f850757249 Fix grammar of comment and sync it with vo_x11.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27912 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 14:21:02 +00:00
reynaldo 1048b60459 Adds Some missing messages - 1 of 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27911 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 03:41:28 +00:00
reimar 1f52c9ed8b Include cache2.h in cache2.c, fixes an implicit declaration warning for cache_do_control
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27910 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-14 19:29:04 +00:00
gpoirier 8cf9abed3b sync w/r27906
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27909 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-14 13:03:33 +00:00
reimar 930c37da56 Fix ati-hack to work again with ATI 8.9 and later drivers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27908 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-14 10:31:15 +00:00
reimar 36dade7693 Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead of
IMGFMT_RGB|24 and IMGFMT_BGR|24.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27907 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-13 19:05:07 +00:00
gpoirier acd3b32cc8 document x264's option subq=0, plus a bit of factoring and added details
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27906 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-13 17:18:40 +00:00