1
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 01:36:25 +01:00
Commit Graph

2494 Commits

Author SHA1 Message Date
Uoti Urpala
78ea550f0f build: Remove code for internal FFmpeg build
Remove some now unnecessary parts that were used for the internal
FFmpeg build, mainly configure tests for FFmpeg features and Makefile
logic for building it.
2009-07-26 20:22:48 +03:00
Uoti Urpala
4ab6e16888 configure: Make multiple --extra-cflags/ldflags additive
This change makes it easier to pass those flags from a build script
while still allowing the user to specify additional flags too.
2009-07-26 20:22:48 +03:00
Uoti Urpala
546c3fb53c Remove internal libass tree
Remove the libass/ directory and use the newest standalone version of
the library instead.
2009-07-26 20:22:43 +03:00
Uoti Urpala
6fbcf16cfb configure: Compile with -O2 instead of -O4
-O4 (which GCC interprets the same as -O3) gives no consistent
performance advantage, being significantly worse than -O2 sometimes.
-O2 gives faster compilation and smaller binary.
2009-07-26 06:16:52 +03:00
Uoti Urpala
cd4e8dc1fa Disable functionality requiring libswscale internals
The following are affected: vo_yuv4mpeg, vf_halfpack, vf_palette,
vf_rgb2bgr, vf_yuy2, vo_mga, vo_xmga. In vo_yuv4mpeg, only disable
RGB support (which is probably little used). Others are disabled
completely for now.

vo_mga and vo_xmga are disabled by preventing configure from enabling
them. The rest is placed under LIBSWSCALE_INTERNALS variable which
isn't currently enabled anywhere.
2009-07-26 06:16:52 +03:00
Uoti Urpala
a810867d04 configure: Improve pkg-config tests for FFmpeg libraries
Tests for libavcodec, libavformat, libavutil and libswscale used the
CFLAGS from pkg-config in a test compile but did not add them to the
flags used during the main build, so the compiler could fail to find
the headers then. Add the flags to the commands used during the main
build too. libpostproc had no pkg-config test at all. Add one.
2009-07-26 06:15:30 +03:00
Uoti Urpala
fdb2f3c8ab Merge svn changes up to r29417 2009-07-12 15:52:00 +03:00
cehoyos
5671f4329e Fix compilation after FFmpeg r19395.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29417 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-11 09:41:44 +00:00
reimar
e404a97a73 Disable libavcodec AAC encoder, there are too many systems where it doesn't compile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29416 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-09 13:28:56 +00:00
Anton Khirnov
87366694d8 Remove the internal GUI
The GUI is badly designed and too closely coupled to the internal
details of other code. The GUI code is in bad shape and unmaintained
for years. There is no indication that anyone would maintain it in the
future either. Even if someone did volunteer to implement a better
integrated GUI having the current code in the tree probably wouldn't
help much. So get rid of it.
2009-07-07 21:49:42 +03:00
Uoti Urpala
a2037a2eff Merge svn changes up to r29412 2009-07-07 02:56:01 +03:00
Uoti Urpala
6d908205fb Merge svn changes up to r29304 2009-07-07 02:07:11 +03:00
diego
63b0136fea Modern Solaris versions have different default CD-ROM devices.
patch by Pawel Tecza, ptecza uw.edu pl


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29387 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 23:31:17 +00:00
Grigori Goronzy
91d0d3a082 Add OSS4 vmix volume control to ao_oss
Support for per-application volume control, introduced by OSS4.
This adds a check in configure to add the proper include path
to the CFLAGS, if needed. The path is taken from /etc/oss.conf.
2009-06-24 20:49:21 +02:00
diego
de592450d5 Do not use -rdynamic on Solaris, where the flag is unsupported.
patch by Niklas Edmundsson, nikke acc.umu se, Bugzilla #1496


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29379 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-22 23:35:13 +00:00
diego
08a14cf5a4 Fix setting of DOC_LANGS and MAN_LANGS, the wrong variables were being used.
This makes XML documentation generation work again.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29372 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-19 15:20:59 +00:00
cehoyos
811779d337 Do not auto-detect old libnut installations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29366 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-16 13:32:51 +00:00
diego
53d273ec22 Rename LIBVORBIS Makefile variable to VORBIS.
The latter is more clear as it can represent either Tremor or libvorbis.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29365 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-14 21:09:35 +00:00
diego
961ef54977 100l: Add missing $s to default language variable checks, which prevented
fallback language settings from taking effect.
patch by Francesco Lavra, francescolavra interfree it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29364 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-14 18:51:36 +00:00
diego
2b78779100 Overhaul translation handling completely and add options to install specific
documentation and man page translations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29363 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-14 14:55:01 +00:00
diego
ee57be5389 cosmetics: Drop leading underscore from _language* variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29362 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-14 13:25:54 +00:00
diego
4a034d1f80 Allow setting message language separately from documentation language.
patch by Steve Dibb, steve.dibb gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29361 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-14 12:42:06 +00:00
diego
d2a3ba44e8 Drop redundant setting of message language to English when all languages
are enabled. This is the default anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29360 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-14 12:31:35 +00:00
reimar
166ffef96b Configure needs AS to be set for the Makefiles.
Note that this may not be a pure assembler (i.e. AS=as is wrong), it must be
a gcc-compatible assembler with preprocessor (e.g. AS=gcc).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29344 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-02 18:37:31 +00:00
reimar
3cd6ded7ea Add actually working support for PPC64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29336 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:35:16 +00:00
reimar
f4da0f9ec1 Use target_arch and target_subarch which is more similar to what FFmpeg uses
and makes more sense when adding proper PPC64 or MIPS64 support.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29335 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:25:20 +00:00
reimar
b8f1cf16db Add some missing FFmpeg archs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29334 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:20:22 +00:00
reimar
ae2c370375 Set XVR100 make variable. Fixes compilation when support for xvr100 was detected.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29315 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-19 08:56:23 +00:00
diego
eafe5b7517 Make sure that -Ilibdvdread4 appears in CFLAGS before any system directories
so that internal dvdread headers do not conflict with system headers.
Fixes Bugzilla #1465.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29304 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 19:25:35 +00:00
diego
cf7bc50739 Add HAVE_PPC64 definition for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29300 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 07:25:04 +00:00
diego
0d5ab8b6d9 Make sure CONFIG_MUXERS is always set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29299 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 06:52:57 +00:00
diego
8e66013c90 cosmetics: indentation fixes for the dvdread check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29283 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-09 13:15:31 +00:00
diego
6dc61f228d Fix misplaced 'fi' in external dvdread test.
patch by Diogo Franco, diogomfranco gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29282 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-09 12:52:44 +00:00
Uoti Urpala
1db1773ec2 Merge svn changes up to r29277 2009-05-08 23:50:26 +03:00
diego
86c9fb2e89 lirc anc lircc are MPlayer-only, so add LDFLAGS for MPlayer link only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29277 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 16:21:03 +00:00
diego
5bad4ba482 The Apple remote code needs the Cocoa framework to link.
Apple remote LDFLAGS are only necessary for linking MPlayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29275 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 13:58:42 +00:00
diego
c12922d678 Add -framework Carbon to LDFLAGS when Mac OS X finder or bundle is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29274 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-07 21:34:56 +00:00
diego
ddb7269a1e cosmetics: Move Quartz and CoreVideo checks into the vo driver section.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29269 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 23:02:59 +00:00
diego
5bc20d8d3c LDFLAGS for CoreVideo and Quartz should be MPlayer-only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29268 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 21:03:56 +00:00
diego
d0022933fe libdvdcss requires the Carbon framework to link on Mac OS X.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 18:45:59 +00:00
diego
bf26ad6611 cosmetics: Move $def_dvdcss to a more sensible place in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29266 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 18:04:53 +00:00
diego
d46d132b1f cosmetics: Move CoreAudio check to audio output section.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29265 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:57:44 +00:00
diego
ab5760ab33 Add #define for HAVE_DVDCSS_DVDCSS_H (needed by internal libdvdread) to config.h
instead of passing -D on the compiler command line.
This is more convenient and already done with most preprocessor definitions
needed by external libraries.
Previously the definition was passed on the command line because libdvdread was
missing the necessary config.h #include, which was now added.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29263 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:30:50 +00:00
diego
a3f5c392f5 cosmetics: indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29261 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:17:17 +00:00
diego
c3d3743ad7 Allow disabling and enabling VCD support through command line parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29260 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:15:54 +00:00
diego
ceb919a8c4 CoreAudio LDFLAGS should be MPlayer-only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29259 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 09:08:53 +00:00
diego
9b7c75da73 Improve CoreAudio check: Use all required headers and frameworks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29258 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 08:49:07 +00:00
diego
614a0e9800 Simplify Mac OS X Finder and Mac OS X Bundle file locations checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29257 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 08:46:37 +00:00
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