1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 18:42:09 +00:00
Commit Graph

2383 Commits

Author SHA1 Message Date
diego
114fa5bd06 CONFIG_QUICKTIME should be set depending on the state of QTX support.
This fixes linking on Mac OS X with vo_quartz disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29255 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 18:29:55 +00:00
diego
27bc918ffe Rename macosx video output driver to corevideo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29252 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 16:55:05 +00:00
diego
e3ec5b1fd3 Rename macosx audio output driver to coreaudio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29251 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 14:53:47 +00:00
diego
9f45c3a0ae QuickTime codecs support requires -framework QuickTime to link on Mac OS X.
patch by Emanuele Giaquinta


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29250 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 14:49:42 +00:00
diego
51a6bec160 Replace QuickTime.h #include with Carbon.h, which is really needed.
patch by Emanuele Giaquinta


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29249 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 14:40:22 +00:00
diego
a094d6279b Improve CoreVideo check: Test more #includes, add -framework Carbon to LDFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29247 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 13:16:04 +00:00
diego
0044b18877 Add information about configure options to config.mak.
This is useful for debugging and convenient outside of config.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29246 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 11:44:36 +00:00
diego
480a9e563c Revert previous two commits, the CoreVideo vo needs both OpenGL and Cocoa.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29238 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-26 08:59:18 +00:00
diego
ebbeef12db Fix typo in CoreVideo linker flags: the Carbon, not Cocoa framework is needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29236 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 18:43:35 +00:00
diego
2ce1ec49e7 Remove unnecessary -framework OpenGL from CoreVideo linker flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29235 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 18:39:19 +00:00
diego
1668788808 whitespace cosmetics: reindent Mac OS X checks, remove trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29234 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 17:52:55 +00:00
diego
6f9ec12491 Split generic OS X API check into separate CoreAudio, CoreVideo, Quartz checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29233 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 17:48:48 +00:00
diego
86075b391c typo in XFORM asm check, noticed by Emanuele Giaquinta
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29232 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 16:37:08 +00:00
diego
d6b2a50fba Pass argc and argv parameters to main() function in SDL test.
SDL renames the main function via a macro and later passes it parameters.
This fixes the SDL check on at least Mac OS X, continues to work fine on Linux.
patch by vmrsss  vmrsss gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29221 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 07:39:39 +00:00
diego
e28b5cc631 Add HAVE_LDBRX to config.h for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29200 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:10:45 +00:00
diego
7948a807fb Add check for XFORM ASM, needed by FFmpeg/PPC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29199 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:10:09 +00:00
diego
4e1b85c726 Rely on POSIX-compatible head/tail versions that understand the -n option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29185 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-16 10:02:10 +00:00
diego
b6d31704a9 Replace all `` by $(), it is more readable and easier to nest.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29183 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 20:00:26 +00:00
diego
10295ba5a0 Simplify OS detection functions.
The return statement in the functions appears unnecessary; remove it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29182 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 17:08:41 +00:00
diego
a5eaafc179 Use extra_cflags variable instead of CFLAGS to add system-specific CFLAGS.
Otherwise the CFLAGS warning gets triggered and necessary CFLAGS are not set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29171 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-12 17:07:30 +00:00
diego
3818abb4ae Move all CFLAGS checks together at the beginning of configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29169 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 18:29:01 +00:00
diego
465abf0b8d Move thread-related CFLAGS settings into pthread test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29168 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 17:39:44 +00:00
diego
446980680f Remove unnecessary Darwin default CFLAGS and LDFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29165 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:38:57 +00:00
diego
b4546308e8 Move darwin CFLAG settings to darwin section at the beginning of configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29164 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:37:59 +00:00
diego
01415637a0 Move amigaos CFLAG settings to amigaos section at the beginning of configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29163 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:12:28 +00:00
diego
e2023a9037 gcc <3.1 is unsupported on Darwin, no need to check for this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29162 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:09:39 +00:00
ramiro
ca242e5f73 Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 20:21:21 +00:00
diego
79701be883 Fix wrong syntax in test example, noticed by Jason Holt, jholt google com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29151 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 11:56:09 +00:00
diego
389853416f Fix passing CFLAGS and LDFLAGS with = in them as configure parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29138 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-04 14:17:53 +00:00
cehoyos
431ac86c7b Fix compilation for newly added VAAPI_HWACCEL's.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29135 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-03 08:08:44 +00:00
bircoph
a4861528c6 Support for libbs2b audio filter.
Add auto detection and selection routines to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29131 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 19:01:23 +00:00
cehoyos
06c07eb5c0 Fix compilation with libavcodec's HWACCEL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29130 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 18:38:15 +00:00
reimar
c9120b9892 Check for ddk/ntddcdrm.h header before enabling VCD on mingw.
Fixes a compilation issue on mingw-w64 which does not have that header.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29085 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-28 18:53:26 +00:00
reimar
0e70761fd9 Rename local TMP variable to TMPRES to avoid a clash with the
variable holding the path used for temporary files - this is used
by mingw-w64 and this change avoids crashes with it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29068 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 17:14:58 +00:00
diego
8a629b04c5 cosmetics: Drop leading underscore from extra_ variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29057 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-25 19:48:05 +00:00
diego
2c5574088d Update help output with previous --extra-ldflags change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29049 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 09:32:35 +00:00
diego
1b2ad68721 Replace --with-extralibdir option by --extra-ldflags, which accepts arbitrary
LDFLAGS. Also rename the corresponding variable for consistency.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29045 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 00:22:51 +00:00
diego
d13c228316 typo fix: Remove stray '-' from --extra-cflags option evaluation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29044 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-23 23:41:24 +00:00
diego
552a5d9ac1 Replace --with-extraincdir option by --extra-cflags, which accepts arbitrary
CFLAGS. Also rename the corresponding variables for consistency.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29043 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-23 23:37:51 +00:00
diego
a5b7fe4b7c Get rid of pointless EXTRA_INC and EXTRAXX_INC config.mak variable indirection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29042 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-23 22:53:42 +00:00
diego
941a7941de Initialize HAVE_FAST_UNALIGNED definition to 0 so that it is never undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29023 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 16:00:15 +00:00
diego
5b8a842476 Add CONFIG_SWSCALE_ALPHA and HAVE_VIRTUALALLOC config.h #defines for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29019 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 09:18:36 +00:00
cehoyos
b1fc7adc3e Support icc 11.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28995 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 21:48:35 +00:00
cehoyos
a2bfb53d16 Older versions of <vdpau/vdpau.h> will fail during compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28989 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 09:17:15 +00:00
diego
5148ca89d2 HAVE_THREADS should be initialized to 0, it is a 0/1 #define in FFmpeg.
patch by Dave Yeo, dave.r.yeo gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28952 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 09:17:42 +00:00
diego
366c3fa13d KVA vo driver for OS/2, patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28950 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 18:44:58 +00:00
diego
e7d3dce041 Add /usr/X11R7 to the list of directories in which to search for X11 includes
and libraries. patch by Bernd Ernesti, mplayer-dev-eng lists veego.de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28946 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 16:00:21 +00:00
reimar
db0be49509 Fix compilation with --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28939 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 16:42:42 +00:00
reimar
7397dbcb66 Update x264 version check for version required by lavc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28869 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-07 12:50:52 +00:00
diego
1005952a8b Only add -Ilibdvdnav to the CFLAGS of the files that require it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28829 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:19:47 +00:00