Commit Graph

1926 Commits

Author SHA1 Message Date
diego cd3ee8b2b2 Add parentheses where necessary to fix || conditions to work as intended.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26190 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 10:39:43 +00:00
diego 8599bc5eb8 Remove duplicate conditions in dvdread check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26189 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 10:36:31 +00:00
diego c84c5f6258 Set ASFLAGS in configure and initialize it as necessary for OS/2.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26188 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 10:05:08 +00:00
diego edc39ca57e Disable S3 VIDIX driver on non-x86 platforms.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26177 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 00:42:24 +00:00
diego d6662d9e78 10l: ENABLE_GRAY needs to be present for libavcodec to compile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26176 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 00:34:40 +00:00
diego 5d3c5c26f6 Do not enable grayscale decoding in FFmpeg, it slows down the
default (color) case.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26174 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 23:04:27 +00:00
diego 9d6f93f652 Add ENABLE_DECODERS/ENABLE_DEMUXERS alongside CONFIG_DECODERS/CONFIG_DEMUXERS
in config.h. 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26173 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 23:03:04 +00:00
diego 98669ebdce Move decision about whether or not to compile Windows emulation
infrastructure to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26149 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 18:12:05 +00:00
diego e834773166 Move decision about whether or not to compile wrapper.S to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26148 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 17:51:36 +00:00
uau 2e16b2826a configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally
config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but
the config.mak value depended on whether MEncoder was enabled.
Encoders need to be enabled as some encoder code is used by MPlayer
too. The inconsistent values broke compilation with --disable-mencoder
after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o
depend on the config.mak value.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26142 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 03:02:36 +00:00
ben 094daed554 New S3 VIDIX driver.
Provides support for S3 Trio and S3 Virge chipsets.
This deprecates the old Savage driver that worked with latest chips only.
(synchronized with vidix.sf.net r326 and r327)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26128 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:01:28 +00:00
diego aeb2ece331 Use _res_comment in joystick check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26110 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 18:19:10 +00:00
diego d1e5f8e31a Default to disabling VIDIX on platforms where it is not known to work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26106 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 23:24:53 +00:00
uau 6d9f52dac0 configure: define ENABLE_ENCODERS for FFmpeg
Compilation was broken as FFmpeg's dsputil_mmx.c now (ab)uses this
variable. Fix by adding "#define ENABLE_ENCODERS 1" to generated
config.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26104 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 05:18:56 +00:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego 7c631d4bea Disable internal VIDIX on OS/2, patch by Dave Yeo, dave.r.yeo gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26095 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 22:41:39 +00:00
cehoyos 9247d50842 Only icc 10.1 will be supported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26081 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:18:12 +00:00
cehoyos 5f34c7b2aa Check for -mno-omit-leaf-frame-pointer (compilation fix for icc 10.1.012).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26080 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:15:30 +00:00
diego ea42787378 #define ATTRIBUTE_ALIGNED_MAX in config.h instead of hardcoding it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26075 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 13:13:28 +00:00
diego b8850a630d Move libdca definition to a better place in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26074 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 12:47:19 +00:00
diego 884a2ba97a Replace Alpha MVI compiler workarounds by a proper configure check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26051 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:47:05 +00:00
diego f1d416c70c Use standard multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26050 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:35:00 +00:00
diego 9a1c6d9d89 Remove unused #define from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26049 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:34:23 +00:00
diego 8d4b171c8c basic support for OS/2 in configure
patch by KO Myung-Hun, komh a chollian d net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26022 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 15:02:41 +00:00
diego 1b2d02e8e3 Set SYS_BEOS for libdvdcss compilation on BeOS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26021 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 14:57:54 +00:00
diego 9b3be6a2ca Apple gcc defines __APPLE_ALTIVEC__ with -faltivec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26011 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 15:34:19 +00:00
iive 153b4a23f9 Implement test for system byteswap.h header file.
The result of this check is required by libavutil library.
If it is not defined the library would try to implement its own
byte swapping routines in bswap.h . As the routines are with same names, 
if included, the system definition would replace the function names with
the macros. The result can not be compiled and looks like this:

# 42 "../libavutil/bswap.h"
-static av_always_inline uint16_t bswap_16(uint16_t x)
+static __attribute__((always_inline)) inline uint16_t (__extension__ ({ register unsigned short int __v, __x = (uint16_t x); if (__builtin_constant_p (__x)) __v = ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }))


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25989 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-12 21:10:13 +00:00
diego 1726ba9e05 Disable v4l2 if pthreads are not available, fixes bug #1015.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25975 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:37:18 +00:00
iive 3e9b59583d Update the test for ivtv output driver.
Linux kernel 2.6.24 now includes ivtv, 
but the vo_ivtv.c fails to compile with it.

Test for structures and ioctl()s used in the current driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25946 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-01 20:14:53 +00:00
reimar ca8decea78 Also accept OpenAL32 as library name for OpenAL, it is used by some Windows-Implementations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25937 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-30 21:46:20 +00:00
diego 989d3d9452 Remove setting of ldconfig, it is unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25886 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:05:10 +00:00
iive 41c2d2cb15 Move Zoran video controller check after the libavcodec one.
As _libavcodec_a is set to "auto" the zoran check used to always fail.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25836 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 14:08:59 +00:00
diego 026a104c62 The GUI requires font support.
patch by Guillaume Lecerf, foxcore gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25753 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-14 23:08:24 +00:00
uau 77c0eb8af9 Set CONFIG_SWSCALER in order to avoid imgresample
Set "CONFIG_SWSCALE=yes" in config.mak. This prevents building
libavcodec/imgresample.o which has symbols that conflict with swscale
ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25655 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 01:17:52 +00:00
uau 3e9a60e11d Add HAVE_SOCKLEN_T to config.h for FFmpeg
Needed to fix compilation after recent FFmpeg changes. It's now always
set to true without any tests. I don't expect this to cause problems
as common systems will have the type and the FFmpeg demuxers which
would use it are not compiled under MPlayer (compilation was broken
because the type was redefined in a header).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25592 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-03 01:44:58 +00:00
diego 2ca61e7f46 Use _ISOC99_SOURCE instead of _GNU_SOURCE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25584 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 18:32:55 +00:00
nicodvb 7ded17d4c2 include dvdnav.h from its installation directory rather than appending
-Idvdnav to the compilation of the whole mplayer (dvdnav-config was just
cleaned)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25567 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 17:34:57 +00:00
eugeni 43de62a54d Add detection of *lrint* and round* functions to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25535 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-28 17:23:57 +00:00
diego a9d779578d Make windres binary name configurable, useful for cross-compiling.
patch by sheba, sheba469 yahoo com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25534 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-28 10:33:22 +00:00
reimar 4a6fb09a63 Simplify int_fastXY_t test in configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25497 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 15:44:57 +00:00
reimar defbb2a545 Add support for XScreenSaverSuspend
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25494 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 11:09:43 +00:00
diego f9455f34d0 Remove internal unrarlib copy, the new unrarexec code is a strict superset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25468 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:10:26 +00:00
ulion 6277b4387f Support cddb on darwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25421 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 11:31:52 +00:00
uau 44a3623cfd Always enable largefile support by default
The largefile configure option was disabled by default, but the
enabled-by-default dvdread and dvdcss options force in on (dvdnav
code also tries to enable it, but sets the variable too late so that
is has no effect). Change configure to enable largefile support
independently of other options unless explicitly disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25400 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 22:02:48 +00:00
ulion df0f80508e Support using unrar executable to access rar-compressed vobsub files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25389 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 08:16:39 +00:00
diego cb80e1a797 support for xtensa CPU architecture
patch by Dan Nicolaescu (dann ics.uci edu), Reimar and me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25368 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 22:37:36 +00:00
diego d94954cfe6 Do not set SYS_AMIGAOS4, it is unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25364 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:40:34 +00:00
diego 7596a9ad27 SYS_AMIGAOS4 --> __AMIGAOS4__
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25363 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:39:18 +00:00
diego 7254bc5f27 slight consistency change for default DVD device selection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25362 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:36:33 +00:00
diego 0e1a34ae70 Remove redundant condition from list of CD/DVD-ROM devices.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25361 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:33:56 +00:00