mplayer.git
10 years agowhitespace cosmetics: Remove all trailing whitespace.
diego [Wed, 13 May 2009 02:58:57 +0000 (02:58 +0000)]
whitespace cosmetics: Remove all trailing whitespace.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMake sure that -Ilibdvdread4 appears in CFLAGS before any system directories
diego [Tue, 12 May 2009 19:25:35 +0000 (19:25 +0000)]
Make sure that -Ilibdvdread4 appears in CFLAGS before any system directories
so that internal dvdread headers do not conflict with system headers.
Fixes Bugzilla #1465.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29304 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMake sure that -I flags for internal library copies come before other CFLAGS
diego [Tue, 12 May 2009 18:09:53 +0000 (18:09 +0000)]
Make sure that -I flags for internal library copies come before other CFLAGS
so that header files do not conflict with system-installed versions.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29303 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix IPv4 vs. IPv6 typo, closes Bugzilla #1439.
diego [Tue, 12 May 2009 15:00:32 +0000 (15:00 +0000)]
Fix IPv4 vs. IPv6 typo, closes Bugzilla #1439.
noticed by Loic Pefferkorn, loic-mplayer loicp eu

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29302 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agolibdvdread4 does not use HAVE_CONFIG_H, so drop the -D flag for libdvdread4.
diego [Tue, 12 May 2009 08:21:53 +0000 (08:21 +0000)]
libdvdread4 does not use HAVE_CONFIG_H, so drop the -D flag for libdvdread4.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29301 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd HAVE_PPC64 definition for FFmpeg.
diego [Tue, 12 May 2009 07:25:04 +0000 (07:25 +0000)]
Add HAVE_PPC64 definition for FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29300 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMake sure CONFIG_MUXERS is always set.
diego [Tue, 12 May 2009 06:52:57 +0000 (06:52 +0000)]
Make sure CONFIG_MUXERS is always set.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29299 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 03:03:35 +0000 (03:03 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29298 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 03:01:09 +0000 (03:01 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29297 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoSome reformating to avoid two too long lines
reynaldo [Tue, 12 May 2009 02:58:29 +0000 (02:58 +0000)]
Some reformating to avoid two too long lines

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29296 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 02:45:52 +0000 (02:45 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29295 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 02:43:03 +0000 (02:43 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29294 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 02:41:04 +0000 (02:41 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29293 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 02:33:28 +0000 (02:33 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29292 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 02:31:11 +0000 (02:31 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29291 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoGet rid of some more trailing whitespace
reynaldo [Tue, 12 May 2009 02:29:29 +0000 (02:29 +0000)]
Get rid of some more trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29290 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agochunk size = 0 is valid for DATA chunks (used in live streams), don't
rtogni [Sun, 10 May 2009 21:13:15 +0000 (21:13 +0000)]
chunk size = 0 is valid for DATA chunks (used in live streams), don't
print warning message

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29289 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd const qualifier to param argument of sws_getContext() and
diego [Sun, 10 May 2009 14:00:00 +0000 (14:00 +0000)]
Add const qualifier to param argument of sws_getContext() and
sws_getCachedContext().  Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29288 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMove preprocessor condition before variable declaration, fixes the warning:
diego [Sun, 10 May 2009 11:37:04 +0000 (11:37 +0000)]
Move preprocessor condition before variable declaration, fixes the warning:
libswscale/swscale.c:1795: warning: unused variable 'flags'

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29287 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMPV_common_init balks if s->avctx->pix_fmt == PIX_FMT_NONE, so we set it correctly
rik [Sat, 9 May 2009 21:37:07 +0000 (21:37 +0000)]
MPV_common_init balks if s->avctx->pix_fmt == PIX_FMT_NONE, so we set it correctly

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29286 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRemove redundant information about configuring MPlayer for GUI support.
diego [Sat, 9 May 2009 18:47:18 +0000 (18:47 +0000)]
Remove redundant information about configuring MPlayer for GUI support.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29285 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMove image formats section to a more appropriate place.
diego [Sat, 9 May 2009 18:13:48 +0000 (18:13 +0000)]
Move image formats section to a more appropriate place.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29284 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocosmetics: indentation fixes for the dvdread check
diego [Sat, 9 May 2009 13:15:31 +0000 (13:15 +0000)]
cosmetics: indentation fixes for the dvdread check

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29283 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix misplaced 'fi' in external dvdread test.
diego [Sat, 9 May 2009 12:52:44 +0000 (12:52 +0000)]
Fix misplaced 'fi' in external dvdread test.
patch by Diogo Franco, diogomfranco gmail com

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29282 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd missing const qualifiers to AltiVec function parameters where appropriate.
diego [Sat, 9 May 2009 10:56:37 +0000 (10:56 +0000)]
Add missing const qualifiers to AltiVec function parameters where appropriate.
Fixes a couple of 'discards qualifiers from pointer target type' warnings.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29281 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd standard license header to all files in libmpdemux.
diego [Fri, 8 May 2009 21:51:13 +0000 (21:51 +0000)]
Add standard license header to all files in libmpdemux.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoReplace informal GPL license header by standard GPL header.
diego [Fri, 8 May 2009 21:47:50 +0000 (21:47 +0000)]
Replace informal GPL license header by standard GPL header.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29279 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoReplace informal LGPL header by standard LGPL license header.
diego [Fri, 8 May 2009 21:47:03 +0000 (21:47 +0000)]
Replace informal LGPL header by standard LGPL license header.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29278 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agolirc anc lircc are MPlayer-only, so add LDFLAGS for MPlayer link only.
diego [Fri, 8 May 2009 16:21:03 +0000 (16:21 +0000)]
lirc anc lircc are MPlayer-only, so add LDFLAGS for MPlayer link only.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29277 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoDo not use flag CWBackPixel when calling vo_x11_create_vo_window():
cehoyos [Fri, 8 May 2009 15:43:54 +0000 (15:43 +0000)]
Do not use flag CWBackPixel when calling vo_x11_create_vo_window():
It leads to VDPAU errors after video aspect ratio changes.

Patch by Stephen Warren.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29276 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoThe Apple remote code needs the Cocoa framework to link.
diego [Fri, 8 May 2009 13:58:42 +0000 (13:58 +0000)]
The Apple remote code needs the Cocoa framework to link.
Apple remote LDFLAGS are only necessary for linking MPlayer.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29275 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd -framework Carbon to LDFLAGS when Mac OS X finder or bundle is enabled.
diego [Thu, 7 May 2009 21:34:56 +0000 (21:34 +0000)]
Add -framework Carbon to LDFLAGS when Mac OS X finder or bundle is enabled.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29274 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdrian is maintaining vo_corevideo and merging the OSX Extended GUI branch.
adrian [Thu, 7 May 2009 21:02:57 +0000 (21:02 +0000)]
Adrian is maintaining vo_corevideo and merging the OSX Extended GUI branch.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29273 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix sliced yuv410 -> yuv420 conversion
vitor [Thu, 7 May 2009 20:41:04 +0000 (20:41 +0000)]
Fix sliced yuv410 -> yuv420 conversion

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29272 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agorevise previous translation
jrash [Thu, 7 May 2009 13:16:22 +0000 (13:16 +0000)]
revise previous translation

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29271 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agosync with en/mplayer.1 r29252
jrash [Thu, 7 May 2009 13:13:54 +0000 (13:13 +0000)]
sync with en/mplayer.1 r29252

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29270 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocosmetics: Move Quartz and CoreVideo checks into the vo driver section.
diego [Tue, 5 May 2009 23:02:59 +0000 (23:02 +0000)]
cosmetics: Move Quartz and CoreVideo checks into the vo driver section.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29269 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoLDFLAGS for CoreVideo and Quartz should be MPlayer-only.
diego [Tue, 5 May 2009 21:03:56 +0000 (21:03 +0000)]
LDFLAGS for CoreVideo and Quartz should be MPlayer-only.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29268 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agolibdvdcss requires the Carbon framework to link on Mac OS X.
diego [Tue, 5 May 2009 18:45:59 +0000 (18:45 +0000)]
libdvdcss requires the Carbon framework to link on Mac OS X.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29267 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocosmetics: Move $def_dvdcss to a more sensible place in config.h.
diego [Tue, 5 May 2009 18:04:53 +0000 (18:04 +0000)]
cosmetics: Move $def_dvdcss to a more sensible place in config.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29266 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocosmetics: Move CoreAudio check to audio output section.
diego [Tue, 5 May 2009 17:57:44 +0000 (17:57 +0000)]
cosmetics: Move CoreAudio check to audio output section.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29265 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd prototype for mp_a52_framesize().
diego [Tue, 5 May 2009 17:36:31 +0000 (17:36 +0000)]
Add prototype for mp_a52_framesize().
This fixes an implicit declaration warning when liba52 is disabled.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29264 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd #define for HAVE_DVDCSS_DVDCSS_H (needed by internal libdvdread) to config.h
diego [Tue, 5 May 2009 17:30:50 +0000 (17:30 +0000)]
Add #define for HAVE_DVDCSS_DVDCSS_H (needed by internal libdvdread) to config.h
instead of passing -D on the compiler command line.
This is more convenient and already done with most preprocessor definitions
needed by external libraries.
Previously the definition was passed on the command line because libdvdread was
missing the necessary config.h #include, which was now added.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29263 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRemove pointless #ifdef around spudec.h #include.
diego [Tue, 5 May 2009 17:27:36 +0000 (17:27 +0000)]
Remove pointless #ifdef around spudec.h #include.
Fixes the build with dvdread disabled.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29262 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocosmetics: indentation
diego [Tue, 5 May 2009 17:17:17 +0000 (17:17 +0000)]
cosmetics: indentation

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29261 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAllow disabling and enabling VCD support through command line parameters.
diego [Tue, 5 May 2009 17:15:54 +0000 (17:15 +0000)]
Allow disabling and enabling VCD support through command line parameters.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29260 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoCoreAudio LDFLAGS should be MPlayer-only.
diego [Tue, 5 May 2009 09:08:53 +0000 (09:08 +0000)]
CoreAudio LDFLAGS should be MPlayer-only.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29259 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoImprove CoreAudio check: Use all required headers and frameworks.
diego [Tue, 5 May 2009 08:49:07 +0000 (08:49 +0000)]
Improve CoreAudio check: Use all required headers and frameworks.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29258 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoSimplify Mac OS X Finder and Mac OS X Bundle file locations checks.
diego [Tue, 5 May 2009 08:46:37 +0000 (08:46 +0000)]
Simplify Mac OS X Finder and Mac OS X Bundle file locations checks.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29257 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoChange VOFW for x86 to 5120, it allows larger images to be scaled and was
michael [Tue, 5 May 2009 01:34:16 +0000 (01:34 +0000)]
Change VOFW for x86 to 5120, it allows larger images to be scaled and was
not slower. Other archs are not changed as the larger VOFW was slower on PPC.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29256 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoCONFIG_QUICKTIME should be set depending on the state of QTX support.
diego [Mon, 4 May 2009 18:29:55 +0000 (18:29 +0000)]
CONFIG_QUICKTIME should be set depending on the state of QTX support.
This fixes linking on Mac OS X with vo_quartz disabled.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29255 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd missing 'void' to parameterless function declarations.
diego [Mon, 4 May 2009 17:35:26 +0000 (17:35 +0000)]
Add missing 'void' to parameterless function declarations.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoao_macosx was renamed to ao_coreaudio.
diego [Mon, 4 May 2009 16:56:36 +0000 (16:56 +0000)]
ao_macosx was renamed to ao_coreaudio.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29253 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRename macosx video output driver to corevideo.
diego [Mon, 4 May 2009 16:55:05 +0000 (16:55 +0000)]
Rename macosx video output driver to corevideo.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29252 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRename macosx audio output driver to coreaudio.
diego [Mon, 4 May 2009 14:53:47 +0000 (14:53 +0000)]
Rename macosx audio output driver to coreaudio.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29251 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoQuickTime codecs support requires -framework QuickTime to link on Mac OS X.
diego [Mon, 4 May 2009 14:49:42 +0000 (14:49 +0000)]
QuickTime codecs support requires -framework QuickTime to link on Mac OS X.
patch by Emanuele Giaquinta

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29250 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoReplace QuickTime.h #include with Carbon.h, which is really needed.
diego [Mon, 4 May 2009 14:40:22 +0000 (14:40 +0000)]
Replace QuickTime.h #include with Carbon.h, which is really needed.
patch by Emanuele Giaquinta

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29249 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoUlion no longer has time to be maintainer.
diego [Mon, 4 May 2009 14:09:31 +0000 (14:09 +0000)]
Ulion no longer has time to be maintainer.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29248 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoImprove CoreVideo check: Test more #includes, add -framework Carbon to LDFLAGS.
diego [Mon, 4 May 2009 13:16:04 +0000 (13:16 +0000)]
Improve CoreVideo check: Test more #includes, add -framework Carbon to LDFLAGS.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29247 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd information about configure options to config.mak.
diego [Mon, 4 May 2009 11:44:36 +0000 (11:44 +0000)]
Add information about configure options to config.mak.
This is useful for debugging and convenient outside of config.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29246 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoCosmetics for r29244 to follow K&R style closely.
bircoph [Sun, 3 May 2009 21:52:41 +0000 (21:52 +0000)]
Cosmetics for r29244 to follow K&R style closely.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29245 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoSupport for libbs2b ver. 3.0.0 API.
bircoph [Sun, 3 May 2009 21:51:37 +0000 (21:51 +0000)]
Support for libbs2b ver. 3.0.0 API.
Now filter parameters are highly controllable, virtually all audio
formats are supported, and new profiles are available.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29244 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoUse libavutil/fifo.h for macosx ao instead of its own FIFO implementation.
reimar [Sun, 3 May 2009 20:57:37 +0000 (20:57 +0000)]
Use libavutil/fifo.h for macosx ao instead of its own FIFO implementation.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29243 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix chroma shift when scaling from ARGB on LE and BGRA on BE
sdrik [Sat, 2 May 2009 08:40:53 +0000 (08:40 +0000)]
Fix chroma shift when scaling from ARGB on LE and BGRA on BE

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29242 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix polish spelling. Noticed in Gentoo ebuild long time ago.
bircoph [Mon, 27 Apr 2009 21:41:42 +0000 (21:41 +0000)]
Fix polish spelling. Noticed in Gentoo ebuild long time ago.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29241 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRemove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c
sdrik [Mon, 27 Apr 2009 14:25:44 +0000 (14:25 +0000)]
Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29240 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agosync w/r29147
gpoirier [Mon, 27 Apr 2009 09:44:59 +0000 (09:44 +0000)]
sync w/r29147

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29239 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRevert previous two commits, the CoreVideo vo needs both OpenGL and Cocoa.
diego [Sun, 26 Apr 2009 08:59:18 +0000 (08:59 +0000)]
Revert previous two commits, the CoreVideo vo needs both OpenGL and Cocoa.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29238 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoReplace glibc-specific __WORDSIZE preprocessor check with HAVE_FAST_64BIT.
diego [Sat, 25 Apr 2009 19:09:54 +0000 (19:09 +0000)]
Replace glibc-specific __WORDSIZE preprocessor check with HAVE_FAST_64BIT.
The latter is properly set by configure.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29237 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix typo in CoreVideo linker flags: the Carbon, not Cocoa framework is needed.
diego [Sat, 25 Apr 2009 18:43:35 +0000 (18:43 +0000)]
Fix typo in CoreVideo linker flags: the Carbon, not Cocoa framework is needed.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29236 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRemove unnecessary -framework OpenGL from CoreVideo linker flags.
diego [Sat, 25 Apr 2009 18:39:19 +0000 (18:39 +0000)]
Remove unnecessary -framework OpenGL from CoreVideo linker flags.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29235 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agowhitespace cosmetics: reindent Mac OS X checks, remove trailing whitespace
diego [Sat, 25 Apr 2009 17:52:55 +0000 (17:52 +0000)]
whitespace cosmetics: reindent Mac OS X checks, remove trailing whitespace

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29234 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoSplit generic OS X API check into separate CoreAudio, CoreVideo, Quartz checks.
diego [Sat, 25 Apr 2009 17:48:48 +0000 (17:48 +0000)]
Split generic OS X API check into separate CoreAudio, CoreVideo, Quartz checks.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29233 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agotypo in XFORM asm check, noticed by Emanuele Giaquinta
diego [Sat, 25 Apr 2009 16:37:08 +0000 (16:37 +0000)]
typo in XFORM asm check, noticed by Emanuele Giaquinta

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29232 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agosane verbosity levels for menu initialization
diego [Sat, 25 Apr 2009 12:34:24 +0000 (12:34 +0000)]
sane verbosity levels for menu initialization

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29231 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMake reset_ptr() void.
cehoyos [Thu, 23 Apr 2009 22:19:53 +0000 (22:19 +0000)]
Make reset_ptr() void.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29229 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocommit remaining binary_codecs.sh changes from debian.
siretart [Thu, 23 Apr 2009 21:01:07 +0000 (21:01 +0000)]
commit remaining binary_codecs.sh changes from debian.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29228 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agocheck for missing libstdc++
siretart [Thu, 23 Apr 2009 20:59:46 +0000 (20:59 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29227 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agomore cosmetics
siretart [Thu, 23 Apr 2009 20:56:59 +0000 (20:56 +0000)]
more cosmetics

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29226 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agowhitespace cosmetics
diego [Thu, 23 Apr 2009 18:54:22 +0000 (18:54 +0000)]
whitespace cosmetics

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29225 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoChange getdladdr to always use dlopen, dlsym and then dlclose.
reimar [Thu, 23 Apr 2009 10:18:32 +0000 (10:18 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29224 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoPart 3 of syncing binary_codecs.sh with Debian
siretart [Thu, 23 Apr 2009 08:46:05 +0000 (08:46 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29223 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoPart 2 of syncing binary_codecs.sh with Debian
siretart [Thu, 23 Apr 2009 08:37:20 +0000 (08:37 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29222 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoPass argc and argv parameters to main() function in SDL test.
diego [Thu, 23 Apr 2009 07:39:39 +0000 (07:39 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29221 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoPart 1 of syncing binary_codecs.sh with Debian
siretart [Wed, 22 Apr 2009 20:46:33 +0000 (20:46 +0000)]
Part 1 of syncing binary_codecs.sh with Debian

This patch contains no functional changes, only whitespace fixes from
Debian.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29220 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoDon't automatically wrap lines when WrapStyle==2.
eugeni [Tue, 21 Apr 2009 21:27:53 +0000 (21:27 +0000)]
Don't automatically wrap lines when WrapStyle==2.

\n and \N still work.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29219 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoFix a signedness issue that caused a warning to be wrongfully printed at runtime.
gpoirier [Tue, 21 Apr 2009 08:19:22 +0000 (08:19 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29218 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoPlanar 16bit 420 422 444 YUV support (output is only supported in some
michael [Tue, 21 Apr 2009 01:08:03 +0000 (01:08 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29217 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMerge gray->gray converters into planarCopy(), this should also make planarCopy()
michael [Tue, 21 Apr 2009 00:08:06 +0000 (00:08 +0000)]
Merge gray->gray converters into planarCopy(), this should also make planarCopy()
useable for other 16bit formats once we support them.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29216 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd macro to check for 16bit per sample.
michael [Tue, 21 Apr 2009 00:03:00 +0000 (00:03 +0000)]
Add macro to check for 16bit per sample.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29215 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMake sure src/dst are NULL when they arent used, some code uses this to
michael [Tue, 21 Apr 2009 00:01:59 +0000 (00:01 +0000)]
Make sure src/dst are NULL when they arent used, some code uses this to
simpify checks.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29214 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoUse generic BE check instead of checking for gray16LE.
michael [Mon, 20 Apr 2009 21:05:32 +0000 (21:05 +0000)]
Use generic BE check instead of checking for gray16LE.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29213 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoadd isBE()
michael [Mon, 20 Apr 2009 21:04:55 +0000 (21:04 +0000)]
add isBE()

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29212 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoUnify error message output and update error messages.
diego [Mon, 20 Apr 2009 18:20:37 +0000 (18:20 +0000)]
Unify error message output and update error messages.
patch by Adrian Stutz, adrian sttz ch

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29211 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agosmall typo fixes
diego [Mon, 20 Apr 2009 15:35:34 +0000 (15:35 +0000)]
small typo fixes

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29210 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoRemove reference to outdated documentation file.
diego [Mon, 20 Apr 2009 15:24:47 +0000 (15:24 +0000)]
Remove reference to outdated documentation file.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29209 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoMove non-conditional SRCS lists below the conditional parts. This allows
diego [Mon, 20 Apr 2009 14:02:40 +0000 (14:02 +0000)]
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://git.mplayerhq.hu/mplayer/trunk@29208 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agowhitespace cosmetics
diego [Mon, 20 Apr 2009 13:52:14 +0000 (13:52 +0000)]
whitespace cosmetics

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29207 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoUse temporary variables to add objects that depend on more than one
diego [Mon, 20 Apr 2009 13:51:47 +0000 (13:51 +0000)]
Use temporary variables to add objects that depend on more than one
condition to conditionally compiled parts.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29206 b3059339-0415-0410-9bf9-f77b7e298cf2

10 years agoAdd algorithm flag (SWS_POINT) to sws_getContext call to avoid a crash.
diego [Mon, 20 Apr 2009 12:07:08 +0000 (12:07 +0000)]
Add algorithm flag (SWS_POINT) to sws_getContext call to avoid a crash.
patch by Alexander Strange, astrange ithinksw com

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@29205 b3059339-0415-0410-9bf9-f77b7e298cf2