annotate TOOLS/midentify @ 9240:4898cfdf582a

The patch enables the fix for rage128_vid as well as radeon_vid, and looks for the DEVICE_ATI_RAGE_MOBILITY device IDs in addition to the Radeon Mobility device IDs. Tom Wu <tom@arcot.com>
author arpi
date Mon, 03 Feb 2003 01:45:49 +0000
parents d151608b9f28
children 6cf694df50b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7865
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
1 #!/bin/sh
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
2 mplayer -identify "$@" 2>/dev/null |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
3 grep "^ID" |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
4 sed -e 's/[`\\!$"]/\\&/g' |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
5 sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'