Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2017-07-23 01:33:00 +0300
committerKacper Michajłow <kasper93@gmail.com>2017-07-23 01:34:31 +0300
commit219e087ec0f59fe81db704d418d1ee71c34c14c9 (patch)
tree4fb6f8c5a27287785e09b91b976b3b9cdb4d5c47
parent6a41e2be340a28cc076d7a01c06c60fbd38dbb45 (diff)
Build: Fix after recent change.
Directory in case of out-of-tree build is created to late, so we need to create it before. Sync script with upstream.
-rwxr-xr-xsrc/thirdparty/LAVFilters/build_ffmpeg.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thirdparty/LAVFilters/build_ffmpeg.sh b/src/thirdparty/LAVFilters/build_ffmpeg.sh
index 8bb883c0a..cb1a533b0 100755
--- a/src/thirdparty/LAVFilters/build_ffmpeg.sh
+++ b/src/thirdparty/LAVFilters/build_ffmpeg.sh
@@ -79,6 +79,9 @@ configure() {
--enable-hwaccel=wmv3_dxva2 \
--enable-hwaccel=mpeg2_dxva2 \
--enable-hwaccel=vp9_dxva2 \
+ --disable-cuda \
+ --disable-cuvid \
+ --disable-nvenc \
--enable-libspeex \
--enable-libopencore-amrnb \
--enable-libopencore-amrwb \
@@ -125,6 +128,8 @@ configureAndBuild() {
else
echo Configuring...
+ ## In case of out-of-tree build this directory is created too late
+ mkdir -p ffbuild
## run configure, redirect to file because of a msys bug
configure > ffbuild/config.out 2>&1
CONFIGRETVAL=$?