1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

Prevent vo window flashing.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9573 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ranma 2003-03-12 16:25:25 +00:00
parent 329345755c
commit d1e9beb0ae

View File

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