mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 14:56:55 +00:00
ildetect: add ILDETECT_FORCE_RUN (if interlacing could not be decided, assume yadif).
This commit is contained in:
parent
94369170b8
commit
761a013736
@ -16,6 +16,7 @@ esac
|
||||
: ${ILDETECT_DRY_RUN:=}
|
||||
: ${ILDETECT_QUIET:=}
|
||||
: ${ILDETECT_RUN_INTERLACED_ONLY:=}
|
||||
: ${ILDETECT_FORCE_RUN:=}
|
||||
: ${MAKE:=make}
|
||||
|
||||
# exit status:
|
||||
@ -76,7 +77,12 @@ case "$out" in
|
||||
exit 2
|
||||
;;
|
||||
*"probably: "*)
|
||||
exit 8
|
||||
[ -n "$ILDETECT_FORCE_RUN" ] || exit 8
|
||||
[ -n "$ILDETECT_DRY_RUN" ] || \
|
||||
$ILDETECT_MPV "$@" -vf-pre yadif
|
||||
r=$?
|
||||
[ $r -eq 0 ] || exit $(($r | 16))
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 16
|
||||
|
Loading…
Reference in New Issue
Block a user