Mercurial > mplayer.hg
view TOOLS/midentify @ 10321:140fcbd20c18
fixed bandInfo name clash with libmp3lame v3.93.1 (longLimit and shortLimit are also only used in layer3.c so it's safe to make them static too - avoiding further clashes)
author | alex |
---|---|
date | Sat, 21 Jun 2003 23:45:07 +0000 |
parents | 96f874a6cd60 |
children | 70ad5a19d831 |
line wrap: on
line source
#!/bin/sh 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; }'