1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

Use -frames 0 instead of hardcoded "goto goto_next_file;"

(Suggested by "Per Winkvist <per.winkvist@telia.com>" in private mail)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9563 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ranma 2003-03-10 00:46:40 +00:00
parent 4b8285b395
commit c687fadbd6

View File

@ -1,5 +1,5 @@
#!/bin/sh
mplayer -identify "$@" 2>/dev/null |
mplayer -frames 0 -identify "$@" 2>/dev/null |
grep "^ID" |
sed -e 's/[`\\!$"]/\\&/g' |
sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'