1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00
Commit Graph

27911 Commits

Author SHA1 Message Date
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
diego
5dbcc861f5 Print out that vo_macosx is disabled when Mac OS X APIs are not available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27905 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-13 00:15:09 +00:00
reimar
69c3d22e00 Fix Windows OpenGL -wid:
Disable the Window instead of explicitly passing on click events.
This also makes Drag-and-Drop work if the -wid window supports it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27904 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-11 19:21:36 +00:00
torinthiel
9d781a117a Partial sync to 27843
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27903 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-11 13:57:29 +00:00
diego
df978cfbcd Sync with latest FFmpeg changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27902 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-08 09:51:12 +00:00
bircoph
867ba9bf0b Synced with r25786.
'-' signs are escaped throughout the manual page.
Some spelling fixes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27901 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-08 04:51:46 +00:00
bircoph
d835036c74 Synced with r27402. Some spelling, typo fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27900 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-07 08:34:15 +00:00
reimar
14eb21fce0 For fragment programs, check GL_MAX_TEXTURE_IMAGE_UNITS instead of GL_MAX_TEXTURE_UNITS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27899 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-06 18:39:37 +00:00
gpoirier
4a85a32cb2 sync w/r27895
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27898 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-06 12:41:23 +00:00
nicodvb
e3d5eacec3 set to -1 fds that were closed; handle the sec_fd only if CONFIG_DVB_HEAD isn't defined; patch by Reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-05 23:37:52 +00:00
diego
69ad7080f9 Add #include <string.h> for memset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27896 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 21:00:29 +00:00
diego
0845d5abfd Fix typo in psy-rd x264 option description.
Noticed by Grozdan, microchip telenet be.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27895 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 20:46:45 +00:00