Commit Graph

29240 Commits

Author SHA1 Message Date
diego d0f79295a9 sane verbosity levels for menu initialization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29231 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 12:34:24 +00:00
cehoyos ca205c9d8f Make reset_ptr() void.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29229 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 22:19:53 +00:00
siretart 5e08e6c4b5 commit remaining binary_codecs.sh changes from debian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29228 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 21:01:07 +00:00
siretart 0688204a7d check for missing libstdc++
this version of the check assumes that we run on a system with apt-get
installed and configured. We should probably check that this is actually
true. Or more ideally add support for yum for fedora systems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29227 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 20:59:46 +00:00
siretart fc7d8af3b4 more cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29226 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 20:56:59 +00:00
diego 72451328bc whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29225 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 18:54:22 +00:00
reimar d6cf125d94 Change getdladdr to always use dlopen, dlsym and then dlclose.
Performance is not really important and dlsym(0, ...) is
not defined while the more correct dlsym(RTLD_DEFAULT, ...)
is a GNUism (although POSIX does reserve RTLD_DEFAULT).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29224 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 10:18:32 +00:00
siretart e3f02a93cc Part 3 of syncing binary_codecs.sh with Debian
This patch contains no functional changes again, only whitespace fixes
that has been misse from Part 1 have been included.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29223 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 08:46:05 +00:00
siretart 23f4613d63 Part 2 of syncing binary_codecs.sh with Debian
This patch contains the OKed parts of Diego's review from 23. Apr 2009


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29222 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 08:37:20 +00:00
diego d6b2a50fba Pass argc and argv parameters to main() function in SDL test.
SDL renames the main function via a macro and later passes it parameters.
This fixes the SDL check on at least Mac OS X, continues to work fine on Linux.
patch by vmrsss  vmrsss gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29221 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 07:39:39 +00:00
siretart 329513035e Part 1 of syncing binary_codecs.sh with Debian
This patch contains no functional changes, only whitespace fixes from
Debian.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29220 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-22 20:46:33 +00:00
eugeni 78f362136d Don't automatically wrap lines when WrapStyle==2.
\n and \N still work.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29219 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 21:27:53 +00:00
gpoirier 424caeb920 Fix a signedness issue that caused a warning to be wrongfully printed at runtime.
Patch by Adrian Stutz %adrian A sttz P ch%


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29218 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 08:19:22 +00:00
michael 7a07a0fcb0 Planar 16bit 420 422 444 YUV support (output is only supported in some
unscaled convertions).
This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome,
we should preserve more bits.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29217 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 01:08:03 +00:00
michael b724d63b87 Merge gray->gray converters into planarCopy(), this should also make planarCopy()
useable for other 16bit formats once we support them.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29216 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:08:06 +00:00
michael 56702531e2 Add macro to check for 16bit per sample.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29215 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:03:00 +00:00
michael 9cdb6b4821 Make sure src/dst are NULL when they arent used, some code uses this to
simpify checks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29214 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:01:59 +00:00
michael 1423dd2165 Use generic BE check instead of checking for gray16LE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29213 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 21:05:32 +00:00
michael 36fd4baa05 add isBE()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29212 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 21:04:55 +00:00
diego 641a93a0e1 Unify error message output and update error messages.
patch by Adrian Stutz, adrian sttz ch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29211 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 18:20:37 +00:00
diego d93eb28e9c small typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29210 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 15:35:34 +00:00
diego b8ef364ae0 Remove reference to outdated documentation file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29209 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 15:24:47 +00:00
diego 30c70cab76 Move non-conditional SRCS lists below the conditional parts. This allows
simplifying the addition of the conditional parts to the SRCS lists.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29208 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 14:02:40 +00:00
diego 7e7abb386b whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29207 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 13:52:14 +00:00
diego 40ea07ea42 Use temporary variables to add objects that depend on more than one
condition to conditionally compiled parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29206 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 13:51:47 +00:00
diego 7c0e777db0 Add algorithm flag (SWS_POINT) to sws_getContext call to avoid a crash.
patch by Alexander Strange, astrange ithinksw com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29205 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 12:07:08 +00:00
diego a12ecf35b2 Only add existing files to the FFMPEGFILES variable.
based on a patch by Carl Fürstenberg, azatoth gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29204 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 03:39:44 +00:00
diego 2ff2081e06 Use ADDSUFFIXES function to simplify version.h dependency declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29203 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:19:39 +00:00
diego 1ec5ec1fa1 Introduce ADDSUFFIXES function and use it to simplify the
ADD_ALL_DIRS and ADD_ALL_EXESUFS functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29202 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:18:59 +00:00
diego 8f0639d4cc cosmetics: Move ADD_ALL_* functions to a more sensible place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29201 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:16:53 +00:00
diego e28b5cc631 Add HAVE_LDBRX to config.h for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29200 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:10:45 +00:00
diego 7948a807fb Add check for XFORM ASM, needed by FFmpeg/PPC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29199 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:10:09 +00:00
diego fc4f741709 cosmetics: reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29198 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 22:27:02 +00:00
diego 2bed79b908 whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29197 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:54:48 +00:00
diego a16fc43c34 cosmetics: Rename PARTS variable to FFMPEGPARTS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29196 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:54:16 +00:00
diego bf2a47d871 Introduce ADD_ALL_DIRS function to factorize clean and distclean target commands
to remove certain patterns in all subdirectories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29195 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:51:06 +00:00
diego dc161a651e Convert another forgotten ADD_ALL_EXESUFS call.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29194 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:22:27 +00:00
diego cc07989738 Extend ADD_ALL_EXESUFS to work with a list of files instead of a single one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29193 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:16:04 +00:00
diego 3f123a9664 Remove duplicate entry from DIRS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29192 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 14:54:44 +00:00
diego d5f4f0856c Add files in all library subdirectories to FFMPEGFILES variable, not
just the ones below libavcodec.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29191 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 14:53:41 +00:00
diego be4c9f7142 Remove pointless #ifdef around internal #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29190 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 13:32:15 +00:00
michael abfb150159 Remove 2 useless += at the end of rgb16to15(), found by CSA.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29189 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 22:27:36 +00:00
stefano 9be7c4ad97 Rename swscale_avoption.c to options.c.
Consistent with lavc and lavf.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29188 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 13:52:00 +00:00
stefano d5b3f76234 Make sws_setColorspaceDetails() return -1 if the destination format is
not supported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29187 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 11:53:59 +00:00
stefano 685890259f Move sws_[gs]etColorspaceDetails() documentation from swscale.c to
swscale.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29186 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 11:45:31 +00:00
diego 4e1b85c726 Rely on POSIX-compatible head/tail versions that understand the -n option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29185 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-16 10:02:10 +00:00
diego b6d31704a9 Replace all `` by $(), it is more readable and easier to nest.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29183 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 20:00:26 +00:00
diego 10295ba5a0 Simplify OS detection functions.
The return statement in the functions appears unnecessary; remove it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29182 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 17:08:41 +00:00
reimar 350ad05cc9 libavformat is now the default for mov, update extension.c to match this.
Fixes direct playback of e.g. http://accent.gmu.edu/soundtracks/japanese7.mov
which was played by the native demuxer (and that one is broken for it).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29181 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 08:38:39 +00:00
diego f97bdd7504 whitespace cosmetics: Break some overly long lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29180 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-14 14:39:04 +00:00