1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 20:05:07 +00:00
Commit Graph

2332 Commits

Author SHA1 Message Date
uau
9aa9e86517 configure: Make the special dvdnav test the last one again
The libdvdnav linker flag handling is hacky and can add flags that
make any compile attempt using them fail unless MPlayer's internal
dvdread has been compiled and is linked as a part of the resulting
binary. For this reason no more tests using the common flags can be
performed after the flags from the dvdnav test have been added.
However the dvdnav test was no longer the last one despite some warning
comments. Move it back to the last position and make the warnings a
bit more explicit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28703 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-23 01:39:27 +00:00
diego
fa33e96dd8 Make alpha arch detection more lenient. Taken from the Debian patchset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28699 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 22:08:50 +00:00
diego
2c48477e53 Add -ffast-math to LDFLAGS as well as to CFLAGS.
patch by Piotr Kaczuba, pepe attika.ath cx


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28694 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 20:25:02 +00:00
diego
1c6964f547 Add HAVE_GETHRTIME and HAVE_INLINE_ASM definitions for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28692 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 17:36:26 +00:00
diego
e5ee1232c5 AVR32 apparently supports fast unaligned accesses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28641 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 22:05:25 +00:00
diego
e9d5b64a29 Also set HAVE_EBP_AVAILABLE in debug mode.
patch by Gwenole Beauchesne, gbeauchesne splitted-desktop com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28631 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:40:59 +00:00
diego
be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego
e98a6e2bff Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28628 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 10:41:13 +00:00
uau
991d64b31f Fix compilation without VDPAU
The commit adding vo_vdpau had two bugs that broke compilation when
VDPAU was not enabled.
- video_out.c used "#ifdef CONFIG_VDPAU", but it's always set to 0 or 1
- In configure, MPEG1_VDPAU_DECODER was dropped from the list of
  libavcodec codecs to disable when moving VDPAU-related ones from the
  always-disabled list to a conditinal one.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28620 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 00:09:15 +00:00
reimar
7e9fd9351c Add support for VDPAU video out, including hardware decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28617 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 20:58:13 +00:00
diego
3983328889 Make configure recognize avr32.
patch by Hans-Christian Egtvedt, hans-christian.egtvedt atmel com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28612 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 17:02:16 +00:00
diego
802f91138e On clean/distclean, remove binaries with all types of executable suffixes.
This helps clean a tree completely before and after crosscompiling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28539 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 12:17:50 +00:00
diego
ceae4989a2 Port check for 10 assembler operands support from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28534 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 23:11:06 +00:00
diego
cdfafa6999 Add priority support for OS/2 and factorize the Windows priority support.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28520 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 15:34:44 +00:00
diego
97e427039d Add proper check for posix_memalign(), needed for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28519 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 02:01:35 +00:00
diego
883133fe45 cosmetics: Remove leading underscore from all def_ variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28489 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 22:49:52 +00:00
diego
a760f58636 Add CONFIG_LIBAMR_NB_FIXED #define for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28488 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:57:14 +00:00
diego
94a8f89c57 CONFIG_LIBAMR_NB/WB should be 0/1 #defines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28487 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:56:18 +00:00
diego
49f88ad861 Conditionally compile aclib.c instead of placing #ifdef around its content.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28483 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:42:00 +00:00
diego
d365ca2eab Add CONFIG_LIBVORBIS #define for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28482 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:39:07 +00:00
diego
95c44000d7 Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.
patch by Imran Syed, freakabcd gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28480 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 17:34:45 +00:00
diego
38daeba8f8 Add config.h/config.mak bzlib variables missed in last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28478 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:36:50 +00:00
diego
ba38cd7c0e Add bzlib check for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28477 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:33:10 +00:00
diego
2817da6233 Convert CONFIG_ZLIB into a 0/1 option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28475 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:23:55 +00:00
diego
66ae932317 Add READ_CACHE_TRACE #define for libdvdnav.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28474 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:19:43 +00:00
diego
d00d9a57f8 cosmetics: Regroup some FFmpeg config.h options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28466 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 19:08:44 +00:00
diego
9ec12d04bd Add proper check for arpa/inet.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28465 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 19:04:22 +00:00
diego
8b2dc616eb Do not hardcode HAVE_DOS_PATHS, set it by OS instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28462 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 18:22:28 +00:00
reimar
25f5652082 Hack: fix MINGW compilation by hard-coding HAVE_ARPA_INET_H
to 0 if __MINGW32__ is defined.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28460 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 12:17:49 +00:00
reimar
3819692fda swab() needs _XOPEN_SOURCE to be defined.
Fixes two implicit declaration warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28455 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:39:56 +00:00
rathann
4557c10cb0 Chinese manpage is actually simplified Chinese (zh_CN), so rename the manpage
directory to reflect that. Also update configure to handle two-part lang codes
for manpages.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28446 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 23:40:26 +00:00
diego
820e400ba5 Simplify inet_pton/inet_aton checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28442 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 14:57:01 +00:00
diego
f6db24db92 Add some more definitions for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28441 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 14:42:57 +00:00
diego
73608fa00b cosmetics: Fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28440 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 14:39:33 +00:00
diego
7e1662839a Restructure network tests: Always check for both inet_aton and inet_pton.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28439 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 14:38:28 +00:00
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