1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00
Commit Graph

2130 Commits

Author SHA1 Message Date
diego
511729a3a2 Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27463 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-14 15:54:53 +00:00
diego
ef97d3827a Enable PNG encoder in libavcodec for vf_screenshot only if zlib is enabled.
based on a patch by Magnus Damm, magnus.damm gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27456 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-12 07:16:18 +00:00
ben
8903c510f8 Add VIDIX driver for SuperH Mobile VEU hardware block.
Patch by Magnus Damm <magnus dot damm at gmail dot com>.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27452 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-11 23:10:03 +00:00
diego
f2b329942c The PNG encoder in libavcodec needs to be enabled for vf_screenshot even if
MEncoder is disabled.  patch by Adrian Stutz, adrian sttz ch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27448 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-10 18:38:13 +00:00
diego
af76be6e19 Add separate variables for CFLAGS that are specific to internal libraries
and only add them to CFLAGS when compiling objects from those libraries.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27436 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 21:46:06 +00:00
diego
2be57955c5 Remove unused Makefile variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27435 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 21:44:26 +00:00
diego
b3e99753a3 cosmetics: Rename some CFLAGS-related variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27434 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 21:03:14 +00:00
diego
e0b1c9a6b7 Give a CONFIG_ prefix to preprocessor directives that lacked one and
change arbitrary prefixes to CONFIG_.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +00:00
diego
7377a6a60a generalized SH architecture support by Magnus Damm, magnus.damm gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27428 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 11:58:37 +00:00
diego
091d352d06 Rename font-related preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego
141e81cce4 Rename a bunch of miscellaneous preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 08:58:07 +00:00
diego
024b6efdf1 Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
Use it in all the places that checked for either ALSA 0.9 or 1.x.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27422 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 23:19:29 +00:00
diego
473e2824cb Rename all preprocessor directives related to Apple / Mac OS X.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:42:26 +00:00
diego
f83e779ee4 Rename some audio-output-related preprocessor directives.
Switch them from a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27419 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 16:32:47 +00:00
diego
f7faf638d4 Rename preprocessor definition in check skeleton.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27418 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:51:17 +00:00
diego
0a749ffdc5 Rename preprocessor directives related to image libraries.
Change a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:47:51 +00:00
ben
6f37cd89a4 Detect ppc64 and powerpc64 architectures as PowerPC variants.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27416 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 22:38:57 +00:00
diego
82f319af62 Change a bunch of X11-specific preprocessor directives.
Switch from a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 06:16:23 +00:00
ben
bfd89d7610 Add video driver for Nintendo Wii/GameCube.
Original patch by Jing Liu <fatersh-1@yahoo.com>,
based on vo_fbdev.c and adapted to Nintendo's specific GPU.

This driver handles dedicated ATI GPU, which can be found in:
 - Nintendo GameCube (ATI LSI Flipper @ 162 MHz)
 - Nintendo Wii (ATI Hollywood @ 243 MHz)

Flipper and Hollywood chipsets are pretty similar, except from clock speed:
 - Embedded framebuffer is 2MB.
 - Texture cache is 1MB.
 - Vertex cache is 0.1 MB.
 - Framebuffer is YUY2, not RGB.
 - Best resolution is 480p (854x480)
          


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27407 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 20:04:03 +00:00
diego
8aef85f1c2 Remove duplicated DVB definition line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27406 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 16:26:11 +00:00
diego
2faef3e404 Rename --enable-macosx-finder-support option to --enable-macosx-finder
and rename related variables accordingly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27404 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 16:16:10 +00:00
diego
4649650cc0 Rename _smbsupport variable to _smb.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27403 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:57:18 +00:00
diego
02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego
52d358e3dc Set HAVE_DVB in configure when HAVE_DVB_HEAD is defined
instead of doing in redundantly in DVB-specific files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27401 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 21:39:29 +00:00
diego
e588ab056d Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +00:00
diego
96a506733d Change a bunch of codec-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 16:30:32 +00:00
diego
d17f9943af Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
diego
863b4e5218 Initialize socklen_t variable to "no".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27386 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 05:35:30 +00:00
diego
83edb070eb For the case that we add a typedef for socklen_t, we should #define
HAVE_SOCKLEN_T as well to avoid clashing with other typedefs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27379 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:22:32 +00:00
diego
a376987211 Check for socklen_t in ws2tcpip.h as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27378 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:16:57 +00:00
diego
6138ec05eb Rename preprocessor directive HAVE_MENU --> CONFIG_MENU.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27377 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:07:19 +00:00
diego
e3afb4b2de Remove unused HAVE_MENCODER definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27376 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:46:27 +00:00
diego
3b31fa5717 Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:44:59 +00:00
diego
1fdf02e6fb Remove unused definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27374 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:03:30 +00:00
diego
4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego
914d02fbdf Remove unused definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27370 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 09:49:59 +00:00
diego
32879d8d61 Add proper check for socklen_t.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27369 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 09:42:37 +00:00
diego
2871b0b874 cosmetics: Group FFmpeg definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27368 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 08:59:02 +00:00
diego
9e4b7bbc27 Do not add __CYGWIN__ to CFLAGS on Cygwin, the system defines it anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27364 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:33:54 +00:00
diego
9c40dd44ab Rework OS/2 configuration with respect to linker output formats.
Since nm only supports a.out on OS/2, the linker options to specify
a different output format need to be added after the check using nm.
based on a patch by  KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27363 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:33:08 +00:00
diego
e9aed9cf90 cosmetics: Add a separator comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27362 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:21:36 +00:00
diego
81a931dd9d Move libdvdnav check before the CFLAGS section. It is still the last check
at this position.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27361 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:18:07 +00:00
diego
3a313f4def Move CFLAGS specific to internal libdvdread and libfaad2 to the Makefile and
use them only when compiling objects from those subdirectories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27359 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:57:22 +00:00
diego
cc9fdab3e8 Remove unused HPUX #define from command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27358 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:47:19 +00:00
diego
0934a87e1a Move libdvdcss-specific CFLAG settings to libdvdcss test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27357 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:36:11 +00:00
diego
65f404c85f Revert to previous dependency checking behavior.
Take included header files into account when generating dependency files.
This has problems when header files are removed or renamed, but does not
silently miscompile files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27351 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 18:36:48 +00:00
diego
d1dcbd2f87 Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27350 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 12:26:04 +00:00
reimar
38137d514c Fix configure hanging forever in iconv check using --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27343 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-24 15:38:20 +00:00
diego
fa164d8a94 Add Dirac video support via libdirac and libschroedinger in libavcodec.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27339 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-22 22:58:51 +00:00
diego
ebb8b63112 Only build the documentation in the languages requested from configure.
Fixes Bugzilla #978.
inspired by a patch from Jonas Berlin, bugs outerspace.dyndns org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27328 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-19 02:00:56 +00:00