Commit Graph

28040 Commits

Author SHA1 Message Date
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
uau 1a089681fc vf_palette: Fix compilation after libswscale API changes
Patch from Guillaume Poirier. I didn't test the functionality of the
filter but at least it fixes compilation.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27822 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-25 00:07:59 +00:00
ptt e313dd3b4d updated to r27402, jumping over 27072, by now, i'll do soon
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27821 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-24 09:18:28 +00:00
diego c0f231ac47 Conditionally declare a conditionally used variable, fixes the warning:
stream/dvb_tune.c:99: warning: unused variable 'sec_dev'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27820 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-24 09:13:04 +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
vitor d979a142fd Cosmetics: alignment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27818 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 19:20:14 +00:00
vitor f42e50f367 Fix broken palette8to*.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27817 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 19:13:11 +00:00
diego e9b43bec09 cosmetics: typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27816 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 16:23:42 +00:00
compn 85d4dfe0ad remove outdated message about outfmt=i420
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27815 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 15:36:59 +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 4722fa0b82 IWMMXT optimizations were removed from our internal libmpeg2 copy, so now
remove it from the library interface code as well.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27812 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-22 23:39:39 +00:00
diego 6dcc6bee6d Try to improve binary codec pack installation instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27811 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-22 17:34:39 +00:00
attila 65e06f1c5f increase the max RTP packet size to 5MB as modern Elphel
cameras do produce such huge packets.
Requested by Alexandre Poltorak


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27810 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-22 16:08:26 +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
reimar 92f9a746ae Make cpuinfo.c compile under MinGW64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27808 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-20 18:08:10 +00:00
diego 6f6bf7f765 Replace typeof by __typeof__, the former is a non-portable GNU extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27807 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-20 09:55:38 +00:00
diego 33c347f66e Translate a Hungarian comment, thanks to Denes Balatoni.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27806 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 20:02:21 +00:00
conrad b5e728431a Convert typeof keyword into __typeof__
typeof is a gcc extension and the former is not accepted in C99 without
GNU extensions enabled (e.g. via -fasm).
This fixes compilation on PPC.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27805 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 18:56:35 +00:00
reimar 3d1f36e3e7 Avoid CreateThread and especially TerminateThread since they cause a memleak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27804 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 18:05:45 +00:00
reimar 834d4c5b7b Remove useless casts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27803 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 17:28:23 +00:00
diego 33f7abfe2c Improve error message when screen width and height are not set.
patch by Christian Ohm, chr.ohm gmx net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27802 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 11:47:46 +00:00
diego 08ca24c62d Clarify screenw/screenh options, patch by Christian Ohm, chr.ohm gmx net.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27801 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 11:27:10 +00:00
gpoirier 9ea0b2eeb0 improve documentation of latest x264's options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27800 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 21:11:44 +00:00
reimar 57281a3170 Use av_malloc/av_free for audio-related buffers to avoid crashes due to
insufficient alignment on systems without memalign.
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-October/058743.html


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27799 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 18:54:05 +00:00
ranma 1ec2a1c33f pci.c includes dha.h, remove redundant MAX_* defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27798 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 16:07:47 +00:00
ranma a6b806a97a MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27797 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 16:07:18 +00:00
faust3 fe44156133 fixed image format detection for 15 bit color depths
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27796 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-17 10:01:44 +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 2195547220 Revert declaring ThreadProc as void, it breaks the WINAPI.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27790 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 19:24:21 +00:00
diego ece6db7e97 Add -nomsgcolor option to match -msgcolor, patch by swell.k gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27789 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 19:12:57 +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 11e54c5b67 cosmetics: Merge some preprocessor checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27783 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:14:35 +00:00
faust3 beef14987b fixed overlay x and y calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27782 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:13:26 +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
diego 2093097cfb Remove pointless attribute_used from variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27780 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:08:18 +00:00
diego 17f509905c Rename stream/netstream.h to stream/stream_netstream.h; netstream.h to make it
clearer that netstream.h belongs to stream_netstream.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27779 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 17:01:40 +00:00
flameeyes 3679961515 Convert asm keyword into __asm__.
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27778 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:34:30 +00:00
diego af9d6f2d0e sun --> __sun in config.h preprocessor check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:33:29 +00:00
diego 392be5a106 misc updates for the Xvid, x264 and AAC sections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27776 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:20:10 +00:00
diego 6e40bc14c9 cosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:15:10 +00:00
diego 883557290d cosmetics: Consistently name all header #define variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27774 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:00:04 +00:00