diff options
Diffstat (limited to 'TOOLS/mpv_identify.sh')
-rwxr-xr-x | TOOLS/mpv_identify.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TOOLS/mpv_identify.sh b/TOOLS/mpv_identify.sh index b3bc0481ef..0c4dfc5b02 100755 --- a/TOOLS/mpv_identify.sh +++ b/TOOLS/mpv_identify.sh @@ -45,6 +45,10 @@ if [ $# -lt 2 ]; then exit 1 fi +if [ -z "$MPV" ]; then + MPV="mpv" +fi + __midentify__LF=" " @@ -86,6 +90,8 @@ __midentify__allprops=" fps width height + dwidth + dheight sub " @@ -98,7 +104,7 @@ for __midentify__key in $__midentify__allprops; do eval unset $__midentify__nextprefix$__midentify__key done -__midentify__output=`mpv --playing-msg="$__midentify__propstr" --vo=null --ao=null --frames=0 "$@"` +__midentify__output=`$MPV --playing-msg="$__midentify__propstr" --vo=null --ao=null --frames=1 --quiet "$@"` __midentify__fileindex=0 __midentify__prefix= while :; do |