summaryrefslogtreecommitdiffstats
path: root/ffmpeg
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-06-18 13:05:32 +0000
committer Eric Hameleers <alien@slackware.com>2010-06-18 13:05:32 +0000
commit0e6838a0b92c8097a754c4740285b2391cce9779 (patch)
treeef53c8a679c6040a0f39df5741c60dc657d324c5 /ffmpeg
parent54d2227e73c10c37b9cb18fa364c42763770fa3f (diff)
downloadasb-0e6838a0b92c8097a754c4740285b2391cce9779.tar.gz
asb-0e6838a0b92c8097a754c4740285b2391cce9779.tar.xz
Add ffmpeg presets for vp8 encoder
Diffstat (limited to 'ffmpeg')
-rwxr-xr-xffmpeg/build/ffmpeg.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/ffmpeg/build/ffmpeg.SlackBuild b/ffmpeg/build/ffmpeg.SlackBuild
index e08dc9f1..b0cc5b17 100755
--- a/ffmpeg/build/ffmpeg.SlackBuild
+++ b/ffmpeg/build/ffmpeg.SlackBuild
@@ -830,6 +830,7 @@ LDFLAGS="$SLKLDFLAGS" \
--disable-install-libs \
--disable-debug-libs \
--enable-postproc \
+ --enable-runtime-cpu-detect \
$ARCHOPTS \
2>&1 | tee $OUTPUT/configure-${PRGNAM}_vpx.log
#--disable-examples \ causes errors
@@ -886,6 +887,10 @@ else
ARCHOPTS=""
fi
+# Add presets for vp8 encoder, which are not (yet) present in ffmpeg or libvpx:
+cat $SRCDIR/ffpresets-libvpx.diff | patch -p0 --verbose \
+ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}_asm.log
+
# Stamp the version into the source:
[ -f version.sh ] && sed -i -e "s/UNKNOWN/$VERSION/" version.sh
@@ -915,6 +920,7 @@ PKG_CONFIG_PATH="$FFMPEGDEPSDIR/usr/lib${LIBDIRSUFFIX}/pkgconfig" \
--enable-libtheora \
--enable-libx264 \
--enable-libvpx \
+ --enable-runtime-cpudetect \
--enable-memalign-hack \
--enable-pthreads \
--enable-x11grab \