1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 11:55:42 +00:00
Commit Graph

27290 Commits

Author SHA1 Message Date
michael
8db6dab345 Forgotten accurate rounding function YSCALEYUV2YV121_ACCURATE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27321 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 23:42:06 +00:00
michael
e96aa16d0c simplify yuv2yuv1()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27320 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 23:35:36 +00:00
diego
f45acd080b Fix typo in msg_lang variable name that prevented the correct message
filename from being generated.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27319 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:38:26 +00:00
michael
8d04d0c285 10l forgot SWS_BILINEAR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27318 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:30:02 +00:00
michael
fb9c400ac2 Ensure that exactly one scaler algo is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27317 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:01:18 +00:00
ben
ca39f4d10f File was missing its dedicated header inclusion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27316 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 19:37:19 +00:00
ben
9ca38e5303 Maemo platform runs on Nokia N8x0 series too.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27315 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 19:23:27 +00:00
reimar
4153f4e21c Avoid including avcodec.h in demuxer.h (and thus many other files) just to get
FF_INPUT_BUFFER_PADDING_SIZE.
Instead use MP_INPUT_BUFFER_PADDING_SIZE and add a preprocessor check that it
is big enough.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27314 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 17:14:12 +00:00
reimar
6dfb85dc9e Our ALSA code needs alloca, so check for it in configure and include alloca.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27313 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 17:11:30 +00:00
diego
4cbefcd4f1 cosmetics: Indent language handling after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27312 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:38:05 +00:00
diego
adc68058bd Rewrite translation handling in the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27311 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:36:54 +00:00
diego
67dec9f5a8 Simplify summary output, add an extra empty line to it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27310 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:24:47 +00:00
diego
535174672b Remove note about localization from configure output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27309 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:22:05 +00:00
diego
87f1f5fea3 cosmetics: Rename _doc_lang variable to doc_lang.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27308 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:19:39 +00:00
diego
33ff3271b1 Evaluate man page installation rule for all available languages,
but only install the requested languages.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27307 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 11:54:42 +00:00
zuxy
a078ef894c Force gcc to emit function body under -gnu99
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27306 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 10:07:21 +00:00
reimar
9254d010ea limits.h is required for UINT_MAX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27305 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 18:51:39 +00:00
reimar
b422b105d7 And a 1000l for r27263, swapped a condition, thus setting size to
0 when malloc succeeded instead of when it failed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27304 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 17:48:34 +00:00
reimar
2f5b26277f 100l, fix calloc being called with the wrong argument due to reordering
two lines in SVN r27263


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27303 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 17:28:19 +00:00
reimar
4a46fcaebc Make sure demuxed ASF packet is properly padded after descrambling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27302 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:43:40 +00:00
reimar
e870f84bfb Move duplicate FF_INPUT_BUFFER_PADDING_SIZE handling into demuxer.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27301 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:18:25 +00:00
diego
fad0b588c2 Add variables for all available man page and documentation languages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27300 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:14:56 +00:00
reimar
3f35a38237 Do not just print a warning, also fix the len in ASF demuxer!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27299 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:06:14 +00:00
diego
c2c1ef0189 Remove redundant check in message language test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27298 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:05:58 +00:00
diego
5068f7a778 Move the "all" option to the front of the list of available languages in
the configure help output so it can be noticed more easily.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27297 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:53:21 +00:00
diego
e0a81e9d31 cosmetics: Rename LANGUAGES variable to msg_langs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27296 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:51:15 +00:00
diego
fb01819aba Replace output redirection with grep by POSIX standard options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27295 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:38:06 +00:00
diego
4d16c72fa0 Replace simple sed invocation by even simpler tr invocation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27294 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:09:24 +00:00
diego
4b068f19a9 Merge two consecutive sed calls into one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27293 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:08:34 +00:00
diego
011a231706 Add IDs to some XML elements to avoid warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27292 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 22:22:25 +00:00
reimar
24b14f8480 Make af_hrtf tables static const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27291 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 19:08:09 +00:00
reimar
7c78c34ace Add const to libaf/filter.c functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27290 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 19:05:42 +00:00
reimar
803385a5d7 Replace S_IREAD|S_IWRITE by POSIX-compatible S_IRUSR|S_IWUSR (not exactly the same, but should not matter).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27289 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 17:35:52 +00:00
reimar
b945a124ef ALSA stupidly tries to define struct timeval and struct timespec, which
may cause compilation errors. Check for this and disable ALSA.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27288 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 16:39:26 +00:00
diego
727a1272bc Fix dlopen(), dlclose() dlsym() calls in configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27287 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 09:21:53 +00:00
diego
64944f9385 Fix tgetent call in termcap configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27286 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 09:17:07 +00:00
diego
ff641a6429 Add two more missing headers to configure checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27285 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 09:07:31 +00:00
diego
0c107a325e Add missing return statements to configure tests.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27284 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 08:31:43 +00:00
diego
39456b850a Add missing headers to configure checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27283 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 08:18:08 +00:00
michael
0589f47239 Remove -std=gnu99/gnu89/default dialect linux define, as it violates the
C standard.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27282 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 00:21:32 +00:00
reimar
cf8d381255 Try to keep decoded audio buffer aligned.
Seems to be enough to avoid crashes (due to unaligned SSE2) with FFmpeg vorbis decoding for now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27281 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-14 16:38:58 +00:00
reimar
95cee5309f Change a broken check. FFMAX does not work as intended because trak->chunkmap[i].first
is unsigned and j is signed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27280 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-14 15:49:59 +00:00
astrange
5212b72ec9 Cosmetics: reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27279 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 22:27:50 +00:00
astrange
84c048051a Remove const vector casts from Altivec.
Fixes compatibility with C99.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27278 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 22:27:19 +00:00
reimar
6c0d230fb3 Add support for FFmpeg DK3 ADPCM codec and prefer it over MPlayer's
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27277 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 17:12:41 +00:00
reimar
a80b534b5a Add support for FFmpeg's ADPCM codecs and make them the default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27276 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 17:06:36 +00:00
reimar
468f0e9763 100l, do not use macros on functions that are not idempotent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27275 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 16:56:00 +00:00
rathann
414178967f Do not set _dvdreadconfig unconditionally.
Makes --with-dvdread-config actually work.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27274 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 14:36:20 +00:00
diego
846f87f83b cosmetics: main (void) --> main(void)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27273 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:54:13 +00:00
diego
0caa345a69 main(void) --> int main(void) in .align test
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27272 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:50:48 +00:00