[MPlayer-dev-eng] [PATCH] Mac OS X updates for darwinfixlib, libmpeg2 and ao_macosx

Dan Christiansen danchr at daimi.au.dk
Tue Jun 10 00:59:09 CEST 2003


Hi,

Attached are three patches for MPlayer :)

mplayer-makefile.diff:

I've found it rather annoying that MPlayer would run ranlib on all 
libraries even though only one of them where changed. It meant that 
mplayer and mencoder would be relinked when running "make install" - 
very annoying indeed. This patch will change the behaviour from running 
ranlib on all libraries prior to linking to processing libraries one at 
a time after their compilation.

mplayer-libmpeg2.diff:

In "libmpeg2/cpu_state.c" there is some AltiVec assembly which wouldn't 
compile with my setup. I don't know anything about altivec assembly, 
but I guess it shouldn't be compiled anyway unless HAVE_ALTIVEC is 
defined (which it isn't in my setup).

mplayer_ao.diff:

I figured out what the issue was with the resampling of movies, etc; I 
was simply setting ao_data.outburst incorrectly. I guess I shouldn't 
have blamed the resampler so quickly ;) I tested it with various 
sampling rates, mono and stereo, and all seem to work well. Unless 
there are more bugs, I believe this is good enough to replace make 
ao_sdl obsolete on Mac OS X. Other than that the patch contains volume 
control and some cleanups.

- Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-makefile.diff
Type: application/octet-stream
Size: 3347 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030610/3e20cb47/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-libmpeg2.diff
Type: application/octet-stream
Size: 771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030610/3e20cb47/attachment-0001.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-ao.diff.bz2
Type: application/octet-stream
Size: 3593 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030610/3e20cb47/attachment-0002.obj>
-------------- next part --------------
  


More information about the MPlayer-dev-eng mailing list