summaryrefslogtreecommitdiffstats
path: root/TOOLS/idet.sh
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2015-09-09 02:57:44 +0200
committerRudolf Polzer <divverent@xonotic.org>2015-09-09 02:57:44 +0200
commit37544e53dc0725d813ed3e525309a95b09c2d7fe (patch)
tree23260d2212b211d469d6fb6c41e64b2eacb0bec0 /TOOLS/idet.sh
parentf622f9d3a3b8bf78cea16bd79f3704e24f9e4827 (diff)
downloadmpv-37544e53dc0725d813ed3e525309a95b09c2d7fe.tar.bz2
mpv-37544e53dc0725d813ed3e525309a95b09c2d7fe.tar.xz
Use setfield, not --field-dominance. See #2297.
Diffstat (limited to 'TOOLS/idet.sh')
-rwxr-xr-xTOOLS/idet.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/TOOLS/idet.sh b/TOOLS/idet.sh
index ae7a3612fe..46bb835832 100755
--- a/TOOLS/idet.sh
+++ b/TOOLS/idet.sh
@@ -95,18 +95,18 @@ case "$verdict" in
exit 0
;;
interlaced-tff)
- judge "$@" --vf-clr --vf-pre=pullup --field-dominance=top
+ judge "$@" --vf-clr --vf-pre=lavfi=\[setfield=tff\],pullup
case "$verdict" in
progressive)
[ -n "$ILDETECT_DRY_RUN" ] || \
- $ILDETECT_MPV "$@" --vf-pre=pullup --field-dominance=top
+ $ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=tff\],pullup
r=$?
[ $r -eq 0 ] || exit $((r | 16))
exit 1
;;
*)
[ -n "$ILDETECT_DRY_RUN" ] || \
- $ILDETECT_MPV "$@" --vf-pre=yadif --field-dominance=top
+ $ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=tff\],yadif
r=$?
[ $r -eq 0 ] || exit $((r | 16))
exit 2
@@ -114,18 +114,18 @@ case "$verdict" in
esac
;;
interlaced-bff)
- judge "$@" --vf-clr --vf-pre=pullup --field-dominance=bottom
+ judge "$@" --vf-clr --vf-pre=lavfi=\[setfield=bff\],pullup
case "$verdict" in
progressive)
[ -n "$ILDETECT_DRY_RUN" ] || \
- $ILDETECT_MPV "$@" --vf-pre=pullup --field-dominance=bottom
+ $ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=bff\],pullup
r=$?
[ $r -eq 0 ] || exit $((r | 16))
exit 1
;;
*)
[ -n "$ILDETECT_DRY_RUN" ] || \
- $ILDETECT_MPV "$@" --vf-pre=yadif --field-dominance=bottom
+ $ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=bff\],yadif
r=$?
[ $r -eq 0 ] || exit $((r | 16))
exit 2