Skip to content

Commit

Permalink
enable vp10 for experimental use
Browse files Browse the repository at this point in the history
  • Loading branch information
copyliu committed Sep 1, 2015
1 parent 25d3eab commit 35f7b35
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cross_compile_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -625,19 +625,22 @@ build_libopenjpeg() {
}

build_libvpx() {
local config_options=""
if [[ $prefer_stable = "y" ]]; then
download_and_unpack_file http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.4.0.tar.bz2 libvpx-1.4.0
cd libvpx-1.4.0
else
config_options="--enable-vp10 --enable-vp10-encoder --enable-vp10-decoder" #enable vp10 for experimental use
do_git_checkout https://chromium.googlesource.com/webm/libvpx "libvpx_git"
cd libvpx_git
fi
export CROSS="$cross_prefix"
if [[ "$bits_target" = "32" ]]; then
do_configure "--target=x86-win32-gcc --prefix=$mingw_w64_x86_64_prefix --enable-static --disable-shared"
config_options="--target=x86-win32-gcc --prefix=$mingw_w64_x86_64_prefix --enable-static --disable-shared $config_options"
else
do_configure "--target=x86_64-win64-gcc --prefix=$mingw_w64_x86_64_prefix --enable-static --disable-shared "
config_options="--target=x86_64-win64-gcc --prefix=$mingw_w64_x86_64_prefix --enable-static --disable-shared $config_options"
fi
do_configure "$config_options"
do_make_and_make_install
unset CROSS
cd ..
Expand Down

0 comments on commit 35f7b35

Please sign in to comment.