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

2238 Commits

Author SHA1 Message Date
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