mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
Use setfield, not --field-dominance. See #2297.
This commit is contained in:
parent
f622f9d3a3
commit
37544e53dc
@ -95,18 +95,18 @@ case "$verdict" in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
interlaced-tff)
|
interlaced-tff)
|
||||||
judge "$@" --vf-clr --vf-pre=pullup --field-dominance=top
|
judge "$@" --vf-clr --vf-pre=lavfi=\[setfield=tff\],pullup
|
||||||
case "$verdict" in
|
case "$verdict" in
|
||||||
progressive)
|
progressive)
|
||||||
[ -n "$ILDETECT_DRY_RUN" ] || \
|
[ -n "$ILDETECT_DRY_RUN" ] || \
|
||||||
$ILDETECT_MPV "$@" --vf-pre=pullup --field-dominance=top
|
$ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=tff\],pullup
|
||||||
r=$?
|
r=$?
|
||||||
[ $r -eq 0 ] || exit $((r | 16))
|
[ $r -eq 0 ] || exit $((r | 16))
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
[ -n "$ILDETECT_DRY_RUN" ] || \
|
[ -n "$ILDETECT_DRY_RUN" ] || \
|
||||||
$ILDETECT_MPV "$@" --vf-pre=yadif --field-dominance=top
|
$ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=tff\],yadif
|
||||||
r=$?
|
r=$?
|
||||||
[ $r -eq 0 ] || exit $((r | 16))
|
[ $r -eq 0 ] || exit $((r | 16))
|
||||||
exit 2
|
exit 2
|
||||||
@ -114,18 +114,18 @@ case "$verdict" in
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
interlaced-bff)
|
interlaced-bff)
|
||||||
judge "$@" --vf-clr --vf-pre=pullup --field-dominance=bottom
|
judge "$@" --vf-clr --vf-pre=lavfi=\[setfield=bff\],pullup
|
||||||
case "$verdict" in
|
case "$verdict" in
|
||||||
progressive)
|
progressive)
|
||||||
[ -n "$ILDETECT_DRY_RUN" ] || \
|
[ -n "$ILDETECT_DRY_RUN" ] || \
|
||||||
$ILDETECT_MPV "$@" --vf-pre=pullup --field-dominance=bottom
|
$ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=bff\],pullup
|
||||||
r=$?
|
r=$?
|
||||||
[ $r -eq 0 ] || exit $((r | 16))
|
[ $r -eq 0 ] || exit $((r | 16))
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
[ -n "$ILDETECT_DRY_RUN" ] || \
|
[ -n "$ILDETECT_DRY_RUN" ] || \
|
||||||
$ILDETECT_MPV "$@" --vf-pre=yadif --field-dominance=bottom
|
$ILDETECT_MPV "$@" --vf-pre=lavfi=\[setfield=bff\],yadif
|
||||||
r=$?
|
r=$?
|
||||||
[ $r -eq 0 ] || exit $((r | 16))
|
[ $r -eq 0 ] || exit $((r | 16))
|
||||||
exit 2
|
exit 2
|
||||||
|
Loading…
Reference in New Issue
Block a user