1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
Commit Graph

27281 Commits

Author SHA1 Message Date
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
diego
72fa0a8931 Use correct header in libamr narrowband test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27271 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:49:57 +00:00
reimar
422c92e314 Simplify and clamp coefficient index for MS ADPCM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27270 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 10:08:40 +00:00
reimar
c83dca172f 100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov
First coefficient array must be unsigned to fit in 8 bits


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27269 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 09:23:14 +00:00
diego
4952dbf19a Dependency files should be refreshed when object files are rebuilt.
Express this with Makefile syntax instead of in the dependency file
generation command.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27268 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 08:23:10 +00:00
nicodvb
b16d3fd6c2 in dvd streams the title part ranges from 1 to 99
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27267 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 08:07:54 +00:00
reimar
c0455325f0 Reindent after last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27266 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 22:04:29 +00:00
reimar
d8b29c80d5 Check size of tkdata before using it in mov demuxer.
Fixes bug #1170 and others.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27265 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 22:03:01 +00:00
reimar
49ddf2e0f5 Add atom_len sanity check to mov demuxer.
Fixes bug #1168


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27264 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 21:59:17 +00:00
reimar
baae5f1bdd Quick hack to fix demux_mov crashes where easily possible.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27263 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 20:22:07 +00:00