Commit Graph

2397 Commits

Author SHA1 Message Date
diego 0d86a0f652 HAVE_DCBZL should be a 0/1 definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28438 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 14:00:50 +00:00
diego 0f65d3be9d Convert HAVE_WINSOCK2_H into a 0/1 definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28437 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:42:27 +00:00
diego 3b222d68b0 HAVE_ATON --> HAVE_INET_ATON to match FFmpeg and give it a 0/1 value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28435 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:33:35 +00:00
diego be5f5c7046 Convert HAVE_CLOSESOCKET and HAVE_SOCKLEN_T into 0/1 definitions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28434 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:16:46 +00:00
diego 85eac18b0a Add a few more #defines for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28433 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:13:15 +00:00
diego 89fc99d8a0 CONFIG_LIB* are defined as 0/1 in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28430 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 12:52:38 +00:00
diego 6053ca62bb Revert Solaris PATH modification workaround.
It is incomplete anyway and configure should not fiddle with user configuration.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28421 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 11:28:31 +00:00
diego 917aadbba6 Add CONFIG_FASTDIV and CONFIG_POWERPC_PERF to config.h for FFmpeg compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28416 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 02:22:56 +00:00
diego 83ebcb0db7 Set a sane default path on Solaris.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28412 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 23:19:16 +00:00
diego 5de6238a26 cosmetics: Move memalign_hack define next to other FFmpeg defines in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28411 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 23:12:27 +00:00
diego 261ee578ee Make sure CONFIG_MEMALIGN_HACK is always #defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28409 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 22:45:18 +00:00
diego 4c4dc61228 Make sure HAVE_ALTIVEC_H is always #defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28408 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 22:37:53 +00:00
diego 83f2da06c3 Make sure HAVE_FAST_64BIT is always #defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28407 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 22:37:12 +00:00
diego c98fd985c2 Add bswap check, needed for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28406 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 22:34:52 +00:00
diego 693c550d05 Add #define HAVE_DLFCN_H to config.h, libdvdread4 needs it.
Fixes Bugzilla #1399.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28405 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 21:16:54 +00:00
diego 98074f2b4e HAVE_LRINT and friends should be defined to 0/1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28404 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-31 20:56:17 +00:00
diego dc4b6fcddc Make CONFIG_XVMC a proper FFmpeg-style 0/1 definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28402 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:58:07 +00:00
diego 0927520cbb Add CONFIG_SWSCALE to config.h, we always enable the software scaler.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28401 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:47:18 +00:00
diego 72685f8efc Add 4 more config.h #defines for libfaad2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28400 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:40:13 +00:00
diego 7e85d78826 Add -Wundef to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28393 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 21:45:54 +00:00
diego c54982e5da Enable RDFT in FFmpeg, some codecs depend on it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28392 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 20:48:47 +00:00
diego 9cc309bcc8 Enable internal dvdread support on OS/2.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28391 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 20:20:06 +00:00
diego eb4a4604c0 HAVE_3DNOW --> HAVE_AMD3DNOW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:29:53 +00:00
diego 401ea8e1db HAVE_3DNOWEX --> HAVE_3DNOWEXT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28361 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 21:03:02 +00:00
cehoyos d46ae7fddb Disable upcoming VC1/WMV3 VDPAU decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28343 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-20 09:17:32 +00:00
cehoyos 84784a5094 MPlayer only supports latest libavutil.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28339 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-17 11:31:12 +00:00
gpoirier 88d4577180 fix compilation without VDPAU decoders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28336 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 20:32:36 +00:00
cehoyos 8ba39dcfcc Disable upcoming MPEG_VDPAU_DECODER.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28321 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 01:55:48 +00:00
diego a41f7e04ac Get rid of now unused FFmpeg ENABLE_ preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28318 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-15 15:57:19 +00:00
diego f23a726b36 Sync with latest FFmpeg changes: #define disabled preprocessor directives
used by FFmpeg to 0 instead of leaving them undefined.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28317 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-15 15:56:24 +00:00
diego 795372e836 Treat mlib as a normal FFmpeg option, not a CPU extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28316 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-15 15:51:50 +00:00
diego 2181a690e2 Treat SH architecture like SH4 like in FFmpeg, the only place it is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28315 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-15 15:41:29 +00:00
diego 5a1e1c6372 SH4 is not a CPU extension mechanism.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28314 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-15 15:40:12 +00:00
diego 16333e985a Mark internal libraries as such in the configure summary, fixes Bugzilla #1378.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28313 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-15 08:51:12 +00:00
diego bd2a867e43 Sync with latest FFmpeg changes: Check for the availability of truncf().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 22:53:08 +00:00
diego 0acdb74854 Remove outdated comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28301 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 15:36:08 +00:00
diego 0cec4f5c7a cosmetics: Move CPU byte order check to a more sensible place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28300 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 15:31:53 +00:00
diego 7e5899961e Only check for YASM support on x86 systems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28299 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 13:33:44 +00:00
diego 7daf30cd9c cosmetics: Move some checks to more logical places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28298 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 12:58:06 +00:00
diego ebd030116f console output cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28296 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 11:28:01 +00:00
diego 9c46f5530c Only print "using XYZ" comment if XYZ has been set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28295 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-11 11:16:20 +00:00
reimar f5676d066b Reindent for "if" added in internal dvdnav patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28292 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-10 13:57:33 +00:00
reimar 1ee1a271f8 Support an "internal" dvdnav version to make it easier to compile with,
test and debug dvdnav SVN.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28291 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-10 13:51:02 +00:00
reimar 4af9bf7e02 Switch internal dvdread to libdvdread SVN external.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-08 19:28:28 +00:00
cehoyos bfe2fa547f Fix compilation after upcoming H264_VDPAU patch for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28252 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 23:41:56 +00:00
diego f3ca83902f EXTERN_PREFIX is not only used in FFmpeg code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28246 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 16:01:52 +00:00
diego 5efcd82cb1 Add ARMv6t2 CPU extension additions missed in previous commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28244 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 13:08:13 +00:00
diego 143661f942 Sync ARMv6t2 optimization support from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28243 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 13:05:24 +00:00
reimar b57cc610da Update JACK configure test to match r28241
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28242 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 11:52:37 +00:00
diego ce7fc9babc Set and use only ARCH_PPC, not also ARCH_POWERPC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28196 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-27 12:00:11 +00:00
reimar fc9625633b Set fast_cmov for all x86_64 systems, except for P4-based systems this
should be better, in particular cmov is recommended for future systems.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28183 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-23 11:42:24 +00:00
reimar 693c9737ee Define HAVE_FAST_64BIT if appropriate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28182 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-23 11:42:11 +00:00
cehoyos b39c0022ed Allow compilation of 32bit mplayer on 64 bit systems with --cc='cc -m32'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28180 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-22 22:56:51 +00:00
diego 42a8a5a388 another round of armv4l --> arm changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28159 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-17 08:47:01 +00:00
diego 93574faeee xvmc is now a CONFIG_ option in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28154 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-15 22:25:39 +00:00
diego aacc576749 Apparently Real codecs work on OpenBSD, taken from the OpenBSD ports tree.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28143 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:18:14 +00:00
diego 35acf1629b Merge two identical NetBSD/OpenBSD conditions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28142 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:17:00 +00:00
diego 83930dd4f5 Apparently VCDs work on OpenBSD, taken from the OpenBSD ports tree.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28141 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:16:32 +00:00
cehoyos 04d6241380 Search live555 library also in /usr/lib64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28131 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-11 23:24:36 +00:00
diego 436f39edfd Rework Theora test, it was throwing away CFLAGS provided by pkg-config.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28130 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-11 21:52:47 +00:00
gpoirier 8e8b7921af 10l: actually disable quartz vo when detection failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28124 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-10 14:28:17 +00:00
diego f6ad50f809 whitespace cosmetics in test programs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28081 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 14:54:04 +00:00
diego 6ee9519304 Treat video output objects the same as everything else in the build system,
i.e. have lines that conditionally enable each in the Makefile and
corresponding variables set from configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28080 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 14:48:31 +00:00
diego 162fe8b113 cosmetics: consistent CONFIG_PNM definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28079 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 14:39:45 +00:00
diego c485f7b15c cosmetics: Rename ZORAN Makefile variable to ZR for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28077 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 12:47:29 +00:00
diego 187f10e142 Treat audio output objects the same as everything else in the build system,
i.e. have lines that conditionally enable each in the Makefile and
corresponding variables set from configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28075 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 12:05:47 +00:00
gpoirier fda903e452 Pass "-f macho" to yasm when enabling YASM support on a 32-bits machine as
libavcodec/i386/x86inc.asm checks that __OUTPUT_FORMAT__ is 'macho' in
32-bits mode, not 'macho32'.
This is a workaround until FFmpeg code is fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28068 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 09:06:23 +00:00
reimar 518b38132d 100l, actually put the PTHREAD_CACHE define into config.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28067 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 20:07:13 +00:00
diego 74f6d96443 vo_direct3d.o depends on w32_common.o.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28059 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 08:35:30 +00:00
diego c612907d1c MNG demuxer by Stefan Schuermans, stefan blinkenarea org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28052 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 13:22:34 +00:00
reimar bd7e915bf5 Move PTHREAD_CACHE define logic to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28048 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 17:04:36 +00:00
reimar e5fc5f99e9 Fix cross-compilation: autodetect correct nm tool
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28046 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 10:53:09 +00:00
uau 189995fb63 configure: Move AANDCT config.mak entry and add config.h #defines
Move the config.mak "CONFIG_AANDCT=yes" line to where other similar
features are, and add missing CONFIG_AANDCT and ENABLE_AANDCT #defines
to config.h (though current FFmpeg code works without them).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28043 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 18:49:16 +00:00
reimar 4d9dd439ab Fix compilation after FFmpeg r15940
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28042 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 18:17:55 +00:00
cehoyos cc5e040641 Enable compilation with icc 11.0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28038 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-25 18:37:13 +00:00
gpoirier 0cee72fb5b now that we have a specific check to enable ao_macosx or not, don't let test
for vo_quartz set if ao_macosx should be enabled or not: it's redundant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28030 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 17:29:37 +00:00
gpoirier 3fa1eb2a60 add specific test to check if we can enable ao_macosx not matter how vo_quartz test may turn out
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28029 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 17:27:05 +00:00
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
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
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
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
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
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
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 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 c9f2a3636c Change OpenGL support to work on unmodified MinGW64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 16:37:45 +00:00
diego c600e40bc5 Make sure that linker flags passed as configure parameters appear before
those detected by configure so that the former can override the latter.
patch by Giacomo Comes, comes naic edu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27842 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-28 18:00:11 +00:00
diego 50076fe15a cosmetics: alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27829 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-26 07:33:15 +00:00
uau 8bfdce3a83 configure: Set CONFIG_MDCT and CONFIG_GOLOMB for libavcodec
After the latest FFmpeg changes these must be set if certain codecs
are enabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27828 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-26 02:21:55 +00:00
diego 15a8009216 cosmetics: Reorder some FFmpeg-related config.h and config.mak entries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27824 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-25 01:43:24 +00:00
uau ff6e6ec743 configure: Set CONFIG_FFT to fix libavcodec compilation
After the latest FFmpeg changes some codecs require that CONFIG_FFT is
also set if the codec is enabled. This commit enables CONFIG_FFT
unconditionally though in principle all the codecs requiring it could
be disabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27823 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-25 00:08:02 +00:00
diego 50b71e8fab 10l: Revert SH4 removal, which is required in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27819 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-24 09:08:03 +00:00
diego 1839492b59 SH4 is an architecture, not a CPU extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27814 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 10:58:47 +00:00
diego e2362bfa55 Add ARM pld instruction test for FFmpeg ARM optimizations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27813 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 09:53:08 +00:00
diego ed0af8844a Determine default CD/DVD device in configure instead of using an #ifdef jungle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-21 07:02:25 +00:00
diego 491826b4cd cosmetics: Reorganize config.h. Remove pointless comments, group together
options in sensible parts and order them alphabetically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27795 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:44:05 +00:00
diego d0ff7c091a typo: _dev_dvd_openbsd --> _def_dvd_openbsd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27794 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:40:34 +00:00
diego 6fa340d54c Create LIBDIR for binary codecs upon make install.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27793 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:25:41 +00:00
diego 4a29d6dee8 Move dcbzl definition to the FFmpeg section of config.h where it belongs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:23:22 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego 629db77d89 Move DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27787 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:28:38 +00:00
diego 7136bb0105 Move likely/unlikely macros to libmpdemux/demuxer.h where they are used.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27786 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:26:01 +00:00
diego af21f25f31 Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:24:18 +00:00
diego a290af1657 Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:19:36 +00:00
diego 2b9e1bf0fa Move attribute_used declaration from config.h to mangle.h where it is useful.
config.h should only contain definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27781 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:13:06 +00:00
diego af9d6f2d0e sun --> __sun in config.h preprocessor check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:33:29 +00:00
diego 6e40bc14c9 cosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:15:10 +00:00
diego 883557290d cosmetics: Consistently name all header #define variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27774 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:00:04 +00:00
diego 7b64ef7fd4 Set HAVE_FAST_UNALIGNED for PowerPC as well, patch by Emanuele Giaquinta.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27763 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 22:25:35 +00:00
diego 885a7962ec Remove global definition of WIN32 in config.h for Cygwin.
Instead just define it for libdvdcss, where it is strictly needed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27762 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:26:05 +00:00
diego 4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego 7559876669 Remove check for byteswap.h, it was removed from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27752 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:17:25 +00:00
diego 8f2b2b1b03 Filter out .hh and .h files in the C++ dependency generation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27749 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:18:15 +00:00
diego 28d7f776ac Remove useless HAVE_STRCHR definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27748 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:14:13 +00:00
diego ac3b6d090c Move socklen_t typedef from config.h to stream/network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 12:12:41 +00:00
diego 4ac23d655f Do not provide a prototype for setenv in config.h, we do not provide a
prototype for all the other functions that we have in osdep/.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-11 08:22:03 +00:00
diego 41272e3014 cosmetics: Move some config.h entries to more sensible places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 21:56:03 +00:00
diego 54a1406b31 cosmetics: Group codec-, network- and gui-related options together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 05:34:49 +00:00
diego e61c3a381a cosmetics: Group system header and function definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 22:11:56 +00:00
cehoyos 3fa84e0247 Disable mp3lib and liba52-internal for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27721 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 20:43:09 +00:00
diego 6fb9d58116 Revert the removal of the likely/unlikely macros, they are still used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27717 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:55:42 +00:00
diego 036b3d0c51 Merge variable declaration and export.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27716 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:15:39 +00:00
diego d68f29e593 Add a comment to lonely 'fi' for clarification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27713 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 15:06:50 +00:00
diego 975e5a97e2 cosmetics: more config.h reordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27711 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 13:07:31 +00:00
diego 34e161377a cosmetics: Reorder entries in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27710 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:39:16 +00:00
diego 5fa09d26e0 100l: Revert incorrect removal or --ar and --ranlib options.
They are still needed for FFmpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:24:18 +00:00
diego b91df4ad96 cosmetics: Improve some config.h comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27708 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:14:38 +00:00
diego 02c93f7b98 Do not duplicate likely/unlikely #defines from libmpeg2/libavcodec in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27707 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:47:00 +00:00
diego 6e916bbf28 Remove unused HAVE_SYS_POLL_H definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27706 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:42:39 +00:00
diego 5b3b982baf cosmetics: Move around some more stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27705 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:27:39 +00:00
diego c43243575c cosmetics: Move around stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27704 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:06:50 +00:00
diego e46c293c57 Remove unused LIBDIR Makefile variable from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:57:57 +00:00
diego 40505981d7 Remove unused options --ar and --ranlib.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:53:28 +00:00
diego b924795056 Do not set DESTDIR to an empty value so that it can be overridden on the
command line.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:39:29 +00:00
diego 220ec4f125 FAAC/FAAD are no longer the only available AAC encoders/decoders.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27700 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:18:42 +00:00
diego 526cfa28a2 Remove word size check and macro and use __WORDSIZE directly instead.
It has been done this way in libswscale for years without apparent ill effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:16:48 +00:00
diego 677ce98c85 Merge SPARC and SPARC64 sections in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27697 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:38:10 +00:00
diego 6685ee530b Skip setting variables to empty values in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27696 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:27:46 +00:00
diego c4c2d94214 100l copy and paste typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27694 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:49:53 +00:00
diego 6c9eadf059 spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27693 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:46:33 +00:00
diego 8a0c673c03 Fix vsscanf test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27692 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:39:06 +00:00
diego e4b700c6f8 CVS --> Subversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27689 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 21:49:25 +00:00
diego 6aa065d0c6 Filter out xpm files from the list of dependencies to check for recursive
dependencies. This avoids a ton of spurious warnings when generating
dependency information in the gui subdirectory.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27686 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:56:37 +00:00
diego 043a331bd0 External liba52 parameters should only be enabled if the check succeeded.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27685 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:42:22 +00:00
diego 3d0b12ac1e Internal liba52 should default to enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27684 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:40:43 +00:00
diego fd15ca4163 Make sure -I. appears before all other -I flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27655 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-21 22:56:53 +00:00