Commit Graph

30243 Commits

Author SHA1 Message Date
reimar e8dded6d4f MPlayer's format now correctly identifies AC3 as either little- or big-endian,
remove unnecessary special workaround.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30284 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:29:33 +00:00
reimar 33bc71f10d Add support for distinguishing between little- and big-endian SPDIF AC3
and converting between both.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:27:52 +00:00
reimar d3ae3611ce More uses of AF_FORMAT_IS_AC3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30282 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:02:46 +00:00
reimar d4b1ff0d03 Use AF_FORMAT_IS_AC3 in ao_oss.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30281 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:55:07 +00:00
reimar 92b91439e0 Make ad_hwac3 independent of liba52. Needs a minor amount of code duplication,
though that is already done that way for dts support in hwac3.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30280 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:43:19 +00:00
reimar e3c9e9a09b Use af_fmt2bits, it should give more sensible values than snd_pcm_format_physical_width,
especially for AC3.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30279 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:40:58 +00:00
reimar 76feee19c4 Add a hack to af_fmt2bits to recognize AC3 as a 16-bit format, since this
is more correct than 8 bit for alignment purposes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30278 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:37:50 +00:00
reimar 10321db5c0 Use af_fmt2bits instead of reimplementing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30277 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:26:33 +00:00
reimar 6910cdaae1 Add and use AF_FORMAT_IS_AC3 macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30276 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:23:18 +00:00
reimar a8a53e872e Revert r30170, AF_FORMAT_AC3 is supposed to be the special mask,
and should not include other parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30275 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:08:15 +00:00
compn 849d578842 mark cfhdvfw decoder as working on windows only
add ffmpeg sipr / acelp.net decoder as buggy until 16k is supported


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30274 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 11:16:09 +00:00
zuxy 7c79acf4b2 Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included for
multiple times.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30273 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 08:21:31 +00:00
ramiro 83ff693d41 cosmetics: {} placement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30272 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 07:30:28 +00:00
reimar fe2e888fd6 Search X11 headers and libraries also in /usr/local/..., should ease
compilation on FreeBSD.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30271 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 21:47:50 +00:00
reimar 5c459408bd Do not use FreeBSD's cpuinfo file on x86_64 either, as on x86_32 it will not
report 3Dnow availability.
Patch from FreeBSD ports.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30270 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 21:22:44 +00:00
reimar 4ecd4741e6 FFmpeg uses ifdef in Makefiles for CONFIG_MPEGAUDIO_HP and CONFIG_HARDCODED_TABLES.
Change the config.mak generation to take that into account and not generate a
definition for these if the features are disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30269 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 20:32:19 +00:00
reimar af6f08ce6a Place a volatile at a more appropriate place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30268 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 19:59:36 +00:00
reimar acc53c9609 Change dummy value to fit into int.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30267 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 19:58:01 +00:00
reimar c65994b907 Remove return statement from function that has no return value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30266 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 19:52:59 +00:00
reimar f10f9b5726 Move mp3lib priority below libavcodec mp2/mp3 audio decoders.
This is meant as a test to see if we can possibly remove mp3lib at some point.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30265 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 19:37:42 +00:00
reimar 4e50b6df73 Fix OpenGL detection for OpenSolaris where -lXdamage is necessary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30264 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 18:22:01 +00:00
reimar fff96519ee Only print "using sdl-config" if we actually used it for SDL detection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30263 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 16:00:07 +00:00
reimar cbdb16328c Avoid excessive fflush in dbgprintf if we didn't even print anything.
Patch by Steinar H. Gunderson [sgunderson bigfoot com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30262 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 15:37:14 +00:00
reimar e89c898ac1 Fix RegCloseKey to not return an error on success.
Patch by "Steinar H. Gunderson" [sgunderson bigfoot com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30261 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 15:31:45 +00:00
reimar 07f7df3208 Call XSync after XShmAttach to avoid a possible race-condition with shmctl.
Patch from FreeBSD ports.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30260 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 14:03:10 +00:00
reimar 894acafa51 Prefer libdca over libdts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30259 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 13:55:55 +00:00
zuxy 534f6aa6b5 Use !isspace() to replace isalnum() to avoid filename mismatch under MBCS
locale like those in East Asia where most glyphs are neither alphabetical nor
numerical.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30258 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 13:52:44 +00:00
reimar e51a1598b4 Quote test arguments that may be empty
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30257 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 13:32:37 +00:00
reimar 71670752d0 Disable internal copy of liba52 by default, libavcodec should be an
adequate replacement.
If there are no complaints we should probably remove it within a few months.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30256 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-10 12:13:10 +00:00
reimar 7712ce86d8 IPv6 in FFmpeg is not supported for MinGW, so do not set CONFIG_IPV6 for that case.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30255 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 18:29:28 +00:00
zuxy ed8a43de8f MMX(2) accelerated yuv420->rgb24 routine, trivial as essentially as it just
swaps R and B inputs for the existing yuv420->bgr24 routine.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30254 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 17:20:49 +00:00
zuxy 9e5a65dcbe Remove unused PREFETCHW macro
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30253 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 14:44:20 +00:00
reimar 43d4fedf59 Add several make variables to make --enable-hardcoded-tables actually compile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30252 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 14:17:23 +00:00
reimar 13b9a20821 Add support for --enable-hardcoded-tables like FFmpeg has.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30251 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 13:39:26 +00:00
cehoyos a91c19964d Fix MP1 with demuxer lavf in MPEG (PS) files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30250 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 11:33:06 +00:00
reimar 74423218b7 Fix fbdev2 to work with Intel framebuffer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30249 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 11:32:18 +00:00
reimar 52e2d23da6 Fix vo_fbdev to also work with Intel framebuffer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30248 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-09 11:26:39 +00:00
compn 0a411a89e9 add binary cineform hd vfw decoder to codecs.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30247 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 21:50:32 +00:00
reimar c894574236 Ignore 0-height slice in sws_scale, otherwise a final 0-height slice will
cause libswscale to assume the incorrect slice order and complain about
slices starting in the middle.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30246 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 19:31:33 +00:00
reimar 17da96da5b vf crop: do not generate 0-size slices, they are pointless and also confuse
libswscale to assume the wrong slice order.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30245 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 19:21:14 +00:00
greg 83da389dce libass needs at least freetype 2.2.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30244 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 18:56:39 +00:00
compn bb31a48a51 mark ffqclp as working in codecs.conf, works on all my samples
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30243 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 18:44:34 +00:00
greg 9aea06cf7d Update internal libass copy to commit 8db4a5
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30242 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 18:35:44 +00:00
cehoyos f51c039c5f Cosmetics: Fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30241 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 18:19:10 +00:00
cehoyos 05fb845e5f QCELP is part of libavcodec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30240 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 18:18:43 +00:00
greg 699e0c888b Fix libass API checks
libass API changed in 0.9.7, not 0.9.8.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30239 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 18:07:12 +00:00
compn fd91249013 update wishlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30238 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 15:36:38 +00:00
jrash b67497a5b0 sync with en/mplayer.1 r30197
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30237 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 11:25:18 +00:00
stefano 3f1a03feb1 Implement sws_isSupportedInput() and sws_isSupportedOutput().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30236 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-07 19:07:47 +00:00
zuxy 0d3adaac4b Happy new year!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30235 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-07 11:12:58 +00:00