-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port FFmpeg 7.0.2 to ffmpegdirect Piers
From xbmc/xbmc#24972 Signed-off-by: Vasyl Gello <[email protected]>
- Loading branch information
1 parent
13e1460
commit 92c7dd4
Showing
10 changed files
with
66 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
From 08ae41e824e04ab48eafde763c72d1ff3e878a41 Mon Sep 17 00:00:00 2001 | ||
From 6b0296b657b281cf326b96ab6cf3b8e1e6e620d2 Mon Sep 17 00:00:00 2001 | ||
From: Lukas Rusak <[email protected]> | ||
Date: Sat, 10 Apr 2021 08:16:11 -0700 | ||
Subject: [PATCH 1/4] ffmpeg: windows: configure: detect openssl | ||
Subject: [PATCH 1/3] ffmpeg: windows: configure: detect openssl | ||
|
||
--- | ||
configure | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/configure b/configure | ||
index d7a3f507e8..4b85e881b1 100755 | ||
index 8642513..84d0fa4 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -6728,6 +6728,8 @@ enabled openssl && { check_pkg_config openssl openssl openssl/ssl.h OP | ||
@@ -7060,6 +7060,8 @@ enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0" ope | ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto || | ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 || | ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 || | ||
|
@@ -21,5 +21,5 @@ index d7a3f507e8..4b85e881b1 100755 | |
enabled pocketsphinx && require_pkg_config pocketsphinx pocketsphinx pocketsphinx/pocketsphinx.h ps_init | ||
enabled rkmpp && { require_pkg_config rkmpp rockchip_mpp rockchip/rk_mpi.h mpp_create && | ||
-- | ||
2.29.2 | ||
2.39.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
From 1e57e7f49f1a74ee11d3c8dd5d407f35eecd5167 Mon Sep 17 00:00:00 2001 | ||
From 500820158d64749311c243e7af599077ad68085e Mon Sep 17 00:00:00 2001 | ||
From: Lukas Rusak <[email protected]> | ||
Date: Sat, 10 Apr 2021 08:16:48 -0700 | ||
Subject: [PATCH 2/4] ffmpeg: windows: configure: fix zlib conflict | ||
Subject: [PATCH 2/3] ffmpeg: windows: configure: fix zlib conflict | ||
|
||
--- | ||
configure | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/configure b/configure | ||
index 4b85e881b1..da457705d1 100755 | ||
index 84d0fa4..2fcde55 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -7825,6 +7825,9 @@ print_config CONFIG_ "$config_files" $CONFIG_LIST \ | ||
@@ -8188,6 +8188,9 @@ print_config HAVE_ "$config_files" $HAVE_LIST | ||
print_config CONFIG_ "$config_files" $CONFIG_LIST \ | ||
$CONFIG_EXTRA \ | ||
|
||
|
@@ -22,5 +22,5 @@ index 4b85e881b1..da457705d1 100755 | |
|
||
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds. | ||
-- | ||
2.29.2 | ||
2.39.2 | ||
|
16 changes: 8 additions & 8 deletions
16
depends/common/ffmpeg/0003-ffmpeg-windows-configure-allow-building-static.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
From efb771d944e96bcbb24635bcae99a43dffab262e Mon Sep 17 00:00:00 2001 | ||
From 3563feddaf8a3f473999fca61e12624def63eba4 Mon Sep 17 00:00:00 2001 | ||
From: Lukas Rusak <[email protected]> | ||
Date: Sat, 10 Apr 2021 08:17:11 -0700 | ||
Subject: [PATCH 3/4] ffmpeg: windows: configure: allow building static | ||
Subject: [PATCH 3/3] ffmpeg: windows: configure: allow building static | ||
|
||
--- | ||
configure | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/configure b/configure | ||
index da457705d1..e3a8f45ff4 100755 | ||
index 2fcde55..598439a 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -5566,6 +5566,8 @@ case $target_os in | ||
enabled shared && ! enabled small && test_cmd $windres --version && enable gnu_windres | ||
@@ -5784,6 +5784,8 @@ case $target_os in | ||
enabled x86_32 && check_ldflags -Wl,--large-address-aware | ||
add_cppflags -DWIN32_LEAN_AND_MEAN | ||
shlibdir_default="$bindir_default" | ||
+ LIBPREF="" | ||
+ LIBSUF=".lib" | ||
SLIBPREF="" | ||
SLIBSUF=".dll" | ||
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)' | ||
@@ -5615,6 +5617,8 @@ case $target_os in | ||
fi | ||
@@ -5835,6 +5837,8 @@ case $target_os in | ||
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE | ||
add_cppflags -DWIN32_LEAN_AND_MEAN | ||
shlibdir_default="$bindir_default" | ||
+ LIBPREF="" | ||
+ LIBSUF=".lib" | ||
SLIBPREF="" | ||
SLIBSUF=".dll" | ||
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)' | ||
-- | ||
2.29.2 | ||
2.39.2 | ||
|
58 changes: 0 additions & 58 deletions
58
depends/common/ffmpeg/0004-ffmpeg-linux-fix-asm-binutil-since-2.41.patch
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
...windows-dxva2-check-nullptr-surface.patch → ...windows-dxva2-check-nullptr-surface.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
9a1fa94608300e835bf89bdfcd7d77deceba67bff3494f609816f84bd69a459e | ||
5eb46d18d664a0ccadf7b0adee03bd3b7fa72893d667f36c69e202a807e6d533 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ffmpeg https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n6.0.tar.gz | ||
ffmpeg https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n7.0.2.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters