summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-07-06 22:33:40 -0500
committerDudemanguy <random342@airmail.cc>2023-07-06 22:40:51 -0500
commit6ed521fd14a4cb3ac5bcf69610a8b30fc44facb0 (patch)
treeeeff07f81d89c20fa863ae7a9a9ccd864c733336 /TOOLS
parent2da0c0b33f120180f96ea895aae0a6513177de64 (diff)
downloadmpv-6ed521fd14a4cb3ac5bcf69610a8b30fc44facb0.tar.bz2
mpv-6ed521fd14a4cb3ac5bcf69610a8b30fc44facb0.tar.xz
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.
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/idet.sh2
1 files changed, 1 insertions, 1 deletions
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 } \