mplayer: update snapshot, playing with CFLAGS breaks playback for some media
This commit is contained in:
parent
26f9baf405
commit
dd81c5c818
@ -1,3 +1,3 @@
|
|||||||
1ecd31d17b51f16332b1fcc7da36b312 font-arial-iso-8859-1.tar.bz2
|
1ecd31d17b51f16332b1fcc7da36b312 font-arial-iso-8859-1.tar.bz2
|
||||||
4b981f3fa303dada80df34bed6b0cdd0 mplayer-20090226.28734.tar.bz2
|
7fc628ed82eb919a76cfab1a8a3f950c mplayer-export-2009-07-25.tar.bz2
|
||||||
c64631601912913f3e5dfbecc3b79d44 mplayer.conf
|
c64631601912913f3e5dfbecc3b79d44 mplayer.conf
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
# Nice to have: libsdl, libjpeg, libpng, lame, zlib, libogg, libvorbis, cdparanoia, win32-essential-codecs, faac, x264, libdvdnav
|
# Nice to have: libsdl, libjpeg, libpng, lame, zlib, libogg, libvorbis, cdparanoia, win32-essential-codecs, faac, x264, libdvdnav
|
||||||
|
|
||||||
name=mplayer
|
name=mplayer
|
||||||
version=20090226.28734
|
version=export-2009-07-25
|
||||||
release=1
|
release=1
|
||||||
source=(http://distfiles.gentoo.org/distfiles/$name-$version.tar.bz2
|
source=(http://crux.nu/~lucas/files/$name-$version.tar.bz2
|
||||||
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
|
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
|
||||||
mplayer.conf)
|
mplayer.conf)
|
||||||
|
|
||||||
@ -16,12 +16,11 @@ build() {
|
|||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
# Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values.
|
# Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values.
|
||||||
export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"
|
#export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--win32codecsdir=/usr/lib/win32 \
|
--codecsdir=/usr/lib/amd64 \
|
||||||
--enable-largefiles
|
--enable-largefiles
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
@ -39,5 +38,5 @@ build() {
|
|||||||
|
|
||||||
# finish up
|
# finish up
|
||||||
rmdir $PKG/usr/lib
|
rmdir $PKG/usr/lib
|
||||||
chown -R root:root $PKG
|
find $PKG -name '*.desc' | xargs chmod g-w
|
||||||
}
|
}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -urN mplayer-1.0_rc2_p28058/libavcodec/libx264.c mplayer-1.0_rc2_p28058-new/libavcodec/libx264.c
|
|
||||||
--- mplayer-1.0_rc2_p28058/libavcodec/libx264.c 2008-12-02 13:56:20.000000000 +1100
|
|
||||||
+++ mplayer-1.0_rc2_p28058-new/libavcodec/libx264.c 2008-12-03 00:54:35.824823293 +1100
|
|
||||||
@@ -164,7 +164,7 @@
|
|
||||||
|
|
||||||
x4->params.i_bframe = avctx->max_b_frames;
|
|
||||||
x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;
|
|
||||||
- x4->params.i_bframe_adaptive = avctx->b_frame_strategy;
|
|
||||||
+ x4->params.b_bframe_adaptive = avctx->b_frame_strategy;
|
|
||||||
x4->params.i_bframe_bias = avctx->bframebias;
|
|
||||||
x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
|
|
||||||
avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames;
|
|
Loading…
x
Reference in New Issue
Block a user