1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
Commit Graph

27999 Commits

Author SHA1 Message Date
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
diego
79782db877 Add some const specifiers to function name variables; fixes a bunch of
"initialization discards qualifiers from pointer target type" warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27894 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 20:38:55 +00:00
reimar
1efaaef8a6 Intialize unused fd variables to -1 (which is actually invalid) instead
of 0 (which is stdin and can cause weird side-effects).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27893 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 18:44:14 +00:00
reimar
2808f340cd Fix condition broken in r27401 which incorrectly caused stdin to be closed after playing DVB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27892 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 18:42:46 +00:00
bircoph
36300981a3 Fix a typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27891 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 00:35:49 +00:00
diego
a5f0db25cb Remove outdated sections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27890 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-03 23:55:42 +00:00
diego
07fa797413 Merge ARCH_BFIN lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27889 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-03 22:06:45 +00:00
diego
1b623e6087 Add tests target for libswscale test programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27888 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-03 22:01:03 +00:00
mru
427bab48a4 Remove forgotten ASM_OBJS in libswscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27887 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-03 21:49:54 +00:00
Gabrov
6d4318907d synced with r27885
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27886 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-03 12:06:40 +00:00
ptt
eb1eaa7f5e 44% synced with r22753 (going on... ;))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27885 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-03 10:35:54 +00:00
reimar
9349875149 lavc tscc decoder now also depends on zlib
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27884 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 18:25:44 +00:00
reimar
456abaa4e3 Add a few more supported URL protocols
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27883 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 17:19:30 +00:00