From 4a3e5ea8d2ebad2b930c503d08fbca05f6209d89 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 12 Aug 2025 12:43:06 +0200 Subject: [PATCH] tools: Split the list of source plugins out of "merge-all-source-plugins" (cherry picked from commit fd31df43067fe21cc1e4fabd07ee9d6a26cb7264) Signed-off-by: Michael Niedermayer --- tools/merge-all-source-plugins | 11 ++++++++++- tools/source-plugins.txt | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tools/source-plugins.txt diff --git a/tools/merge-all-source-plugins b/tools/merge-all-source-plugins index a3812a90a6..911f984624 100755 --- a/tools/merge-all-source-plugins +++ b/tools/merge-all-source-plugins @@ -31,7 +31,16 @@ git diff --cached --exit-code >/dev/null ||\ version="8.0" -merge "https://github.com/michaelni/FFmpeg.git" "libpostproc" +[ $# -ne 1 ] &&\ + error "Usage: $0 source-plugins.txt" + +while IFS=' ' read -r a b; do + case "$a" in + ''|'#'*) continue ;; + esac + + merge "$a" "$b" +done < "$1" [ -n "$version" ] && echo version: $version [ -n "$succeeded" ] && echo Succeeded merging: $succeeded diff --git a/tools/source-plugins.txt b/tools/source-plugins.txt new file mode 100644 index 0000000000..6940140ccc --- /dev/null +++ b/tools/source-plugins.txt @@ -0,0 +1,4 @@ +# List of source plugins + +# libpostproc, GPL, maintained by Michael Niedermayer +https://github.com/michaelni/FFmpeg.git libpostproc