diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2013-06-16 17:18:45 +0200 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2013-06-16 17:18:45 +0200 |
commit | fb04351f76d00d8d5e20ca172172921b2bb35f13 (patch) | |
tree | 0c5b18ea33d14f67842c7c1aa1117223048398b8 /TOOLS/vf_dlopen | |
parent | dcd36c79c7ff124dacbe01b6c28f68585fd66a2b (diff) | |
download | mpv-fb04351f76d00d8d5e20ca172172921b2bb35f13.tar.bz2 mpv-fb04351f76d00d8d5e20ca172172921b2bb35f13.tar.xz |
vf_dlopen ildetect: make the wrapper shell script more robust
Diffstat (limited to 'TOOLS/vf_dlopen')
-rwxr-xr-x | TOOLS/vf_dlopen/ildetect.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/TOOLS/vf_dlopen/ildetect.sh b/TOOLS/vf_dlopen/ildetect.sh index e9027077d2..d5c7549e10 100755 --- a/TOOLS/vf_dlopen/ildetect.sh +++ b/TOOLS/vf_dlopen/ildetect.sh @@ -17,16 +17,11 @@ testfun() { ${MPV:-mpv} "$@" \ -vf dlopen="$MYDIR/ildetect.so" \ - -o /dev/null -of nut -ovc rawvideo -no-audio \ - | grep "^ildetect:" + -o /dev/null -of rawvideo -ofopts-clr -ovc rawvideo -ovcopts-clr -no-audio \ + | tee /dev/stderr | grep "^ildetect:" } out=`testfun "$@"` -echo -echo -echo "$out" -echo -echo case "$out" in *"probably: PROGRESSIVE"*) ${MPV:-mpv} "$@" |