Compare commits

..

No commits in common. "cdd878fc7a7fc6ef95ed5359efc646dd1375ba02" and "d3a482effe3faebe24f4966ed5cd0bc487fc34f2" have entirely different histories.

4 changed files with 29 additions and 1 deletions

View File

@ -1,5 +1,4 @@
export FFBUILD_FLAGS="--enable-ffnvcodec --enable-dxva2 --enable-amf --enable-libmfx" export FFBUILD_FLAGS="--enable-ffnvcodec --enable-dxva2 --enable-amf --enable-libmfx"
export FFBUILD_PLATFORM="win" export FFBUILD_PLATFORM="win"
export MFX_HOST=i686-w64-mingw32
FFMPEG_OS=mingw32 OPENH264_ARCH=i686 OPENH264_OS=mingw_nt CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ AR=i686-w64-mingw32-gcc-ar bash build.sh --arch i686 FFMPEG_OS=mingw32 OPENH264_ARCH=i686 OPENH264_OS=mingw_nt CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ AR=i686-w64-mingw32-gcc-ar bash build.sh --arch i686

View File

@ -0,0 +1,25 @@
From 38977f2aae092fd155a15d24318efb1532d5321b Mon Sep 17 00:00:00 2001
From: paring <paring@pikokr.dev>
Date: Mon, 22 May 2023 15:20:08 +0900
Subject: [PATCH] fix: version
---
libmfx.pc.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmfx.pc.cmake b/libmfx.pc.cmake
index 1a22c98..5730b72 100644
--- a/libmfx.pc.cmake
+++ b/libmfx.pc.cmake
@@ -5,7 +5,7 @@ includedir=${prefix}/include
Name: libmfx
Description: Intel Media SDK Dispatched static library
-Version: 2013
+Version: 1.35.1
Requires:
Requires.private:
Conflicts:
--
2.40.0

View File

@ -9,6 +9,8 @@ git clone https://github.com/GPUOpen-LibrariesAndSDKs/AMF -b v1.4.29 $amfPath --
cd $ffmpegPath cd $ffmpegPath
git am ../../patches/ffmpeg/*
cp -r $amfPath/amf/public/include $PREFIX/include/AMF cp -r $amfPath/amf/public/include $PREFIX/include/AMF
make distclean make distclean

View File

@ -12,6 +12,8 @@ git remote add origin https://github.com/lu-zero/mfx_dispatch
git fetch --depth 1 origin "5a3f178be7f406cec920b9f52f46c1ae29f29bb2" git fetch --depth 1 origin "5a3f178be7f406cec920b9f52f46c1ae29f29bb2"
git checkout FETCH_HEAD git checkout FETCH_HEAD
git am ../../patches/mfx/*
export CFLAGS="$CFLAGS -static-libgcc -static-libstdc++ -static" export CFLAGS="$CFLAGS -static-libgcc -static-libstdc++ -static"
export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++ -static" export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++ -static"
export LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++" export LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"