From 6ed521fd14a4cb3ac5bcf69610a8b30fc44facb0 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 6 Jul 2023 22:33:40 -0500 Subject: [PATCH] TOOLS/idet: fix some outdated cli syntax d3cef97ad38fb027262a905bd82e1d3d2549aec7 changed the way the command line was parsed and syntax like "--foo value" stopped being considered valid. This old script still was using the old syntax and thus was broken. Update it to "--msg-level=ffmpeg=v" which is the recommended syntax. Fixes #11892. --- TOOLS/idet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOOLS/idet.sh b/TOOLS/idet.sh index 46bb835832..7fb51c16d8 100755 --- a/TOOLS/idet.sh +++ b/TOOLS/idet.sh @@ -22,7 +22,7 @@ testfun() { $ILDETECT_MPV "$@" \ - --vf-add=lavfi="[idet]" --msg-level ffmpeg=v \ + --vf-add=lavfi="[idet]" --msg-level=ffmpeg=v \ --o= --vo=null --no-audio --untimed \ $ILDETECT_MPVFLAGS \ | { if [ -n "$ILDETECT_QUIET" ]; then cat; else tee /dev/stderr; fi } \