Commit Graph

28416 Commits

Author SHA1 Message Date
diego 72685f8efc Add 4 more config.h #defines for libfaad2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28400 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:40:13 +00:00
diego f64d639d2b Use OS preprocessor checks with '#if defined()' consistently.
Avoids undefined preprocessor directives warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28399 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:29:39 +00:00
diego 9133dff0b2 Fix warnings about undefined preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28398 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:22:29 +00:00
diego 390a1afef0 1) HAVE_SYS_ASOUNDLIB_H/HAVE_ALSA_ASOUNDLIB_H are defined to 0/1,
not defined/undefined, use them accordingly.
2) Add ESD definitions to avoid undefined preprocessor directives warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28397 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:21:23 +00:00
diego 2c4882f890 Revert mistaken #ifdef --> #if change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28396 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:19:00 +00:00
diego 9fdb04a3d8 Update libavcodec 'aic' flag define to match current FFmpeg.
patch by Dave Baker, dbkr mxtelecom com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28395 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:08:36 +00:00
diego c92055c078 HAVE_ARMV6 is defined to 0/1, use the preprocessor directive accordingly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28394 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 22:27:04 +00:00
diego 7e85d78826 Add -Wundef to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28393 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 21:45:54 +00:00
diego c54982e5da Enable RDFT in FFmpeg, some codecs depend on it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28392 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 20:48:47 +00:00
diego 9cc309bcc8 Enable internal dvdread support on OS/2.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28391 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 20:20:06 +00:00
reimar 57ff94b5cd Move setting of O_NONBLOCK before lirc_readconfig, this avoids a memleak
due to not freeing the lirc config on error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28390 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 15:41:45 +00:00
reimar 3de8ddabc7 Fix an MSGT_INPUT to MSGT_LIRC in lirc.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28389 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 15:38:54 +00:00
compn d537652d95 add pvez to truemotion 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28388 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 15:17:22 +00:00
compn 16e790999a remove sys/timeb.h include
fixes compilation on uClibc based i386 system
patch by Markus Heidelberg markus(x.x)heidelberg(x@x)web(x.x)de
ok'd by diego


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28387 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 03:36:14 +00:00
compn c312c67753 increase max glyph and lines limit
patch by Scaevolus on irc
fixes http://samples.mplayerhq.hu/Matroska/subtitles/090128_gszs02.mkv


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28386 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 02:23:06 +00:00
diego be5a9adfbf Use single quotes to avoid escaping double quotes in a string.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28385 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 00:18:32 +00:00
diego bc0dd94ce5 Use cat instead of echo to generate version.h.
Portably echoing backslashes is near impossible.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28384 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 00:16:09 +00:00
diego a62cb5ead2 Remove superfluous backslash escapes that caused unintended escapes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28383 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 17:47:50 +00:00
reimar 9c116d24e6 Avoid a division by 0 when using -oac mp3lame but no audio data actually is encoded.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28382 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 12:46:05 +00:00
compn 3788789408 increase max subtitle stream limit
patch by henryk (irc)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28381 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 00:44:48 +00:00
reimar 88aca1ef25 Do not use select n lirc code, instead set the fd non-blocking.
select can not work because lirc_nextcode buffers data internally,
causing events to be delayed until the next keypress in some cases.
Patch by Dennis Vshivkov [jaimor (at) orcon net nz]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28380 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-27 19:06:50 +00:00
reimar 7fcf438a2f Allocate a larger backbuffer to allow resizing without reinit.
Patch by Georgi Petrov [gogothebee gmail com] and Jim Hauxwell [james (at) dattrax co uk]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28379 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-27 10:02:47 +00:00
diego c1cd81818a Add standard license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28378 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 15:06:44 +00:00
diego 5afe13e12a Replace another bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28377 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 14:36:31 +00:00
diego 91c6bb0241 Do not duplicate VERSION string.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28376 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 11:29:28 +00:00
diego 4d72948eb6 Replace a bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28375 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 11:24:05 +00:00
diego 0c3d542dc7 WORDS_BIGENDIAN is defined/undefined, not 0/1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28374 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:56:27 +00:00
diego e1c20a72f0 some more HAVE_3DNOW --> HAVE_AMD3DNOW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28373 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:55:59 +00:00
diego 65ea2d93f8 Drop HAVE_LRINTF check, lrintf is used without checking in other places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28372 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:54:14 +00:00
diego 92e4d64a61 HAVE_LRINTF is now always defined to either 0 or 1, not defined/undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28371 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:40:04 +00:00
diego eb4a4604c0 HAVE_3DNOW --> HAVE_AMD3DNOW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:29:53 +00:00
diego 418ce8eb05 version.h depends on version.sh.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28369 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:11:23 +00:00
diego 7034529d9a Fix build: Add required header and adjust preprocessor check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28368 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 23:55:21 +00:00
diego fc8435ee6d Drop dev- prefix from printed version number, just SVN-rXXXXX is enough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28367 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 23:31:45 +00:00
diego 85b28eb411 Add SSSE3 and CMOV to CPU information printed on startup.
Fixes Bugzilla #1378.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28366 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 22:52:00 +00:00
diego 15fd265fc3 cosmetics: Consistently name 3DNow! extensions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28365 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 22:49:51 +00:00
diego 4a0bcc1319 Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28364 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 22:34:26 +00:00
diego cdcd4e75b7 DECLARE_ALIGNED was moved in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28363 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 22:12:42 +00:00
diego 4ac4b493a9 Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 21:59:08 +00:00
diego 401ea8e1db HAVE_3DNOWEX --> HAVE_3DNOWEXT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28361 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 21:03:02 +00:00
diego 2067a1f750 Factorize print_version().
Print CPU information in verbose mode instead of by default.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28360 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 20:35:58 +00:00
diego ccb0647f89 Add missing multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28359 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 20:10:36 +00:00
diego cecfbf85db HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28358 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 19:58:33 +00:00
diego f66f0ca777 Add missing header for av_gcd, fixes the warning:
libaf/af_resample.c:204: warning: implicit declaration of function 'av_gcd'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28357 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 19:20:30 +00:00
reimar 5fb47cba37 Fix typo: pool -> poll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28356 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 18:46:24 +00:00
reimar 6fc95c1817 Actually abort (return NULL) in the alloc-failure check in play_tree_new
instead of going right ahead and crashing.
Patch by Luis Felipe Strano Moraes (luis strano  gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28355 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 18:25:11 +00:00
reimar 84fbeecf72 Fix a NULL-check that used && instead of || and thus could not avoid crashes.
Patch by Luis Felipe Strano Moraes (luis strano   gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28354 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 18:23:05 +00:00
diego 9e48ce48d4 Declare struct SwsContext before using it, fixes the checkheaders warning:
libswscale/swscale_internal.h:58: warning: `struct SwsContext' declared inside parameter list
libswscale/swscale_internal.h:58: warning: its scope is only this definition or declaration, which is probably not what you want


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28353 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 12:03:28 +00:00
diego 1a1bdca3e4 Disable C code when compiling AltiVec code, fixes the warning:
swscale_template.c:2623: warning: `swScale_C' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28352 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 11:59:22 +00:00
diego 51acb7b7ab spelling/grammar cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28351 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 11:57:17 +00:00