view TOOLS/midentify @ 11371:9cd1546f26ea

patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu> Following patch adds ID of Radeon 9800 (non pro) (R350) to mplayer pci database, thus enabling vidix for it. Vidix works great on it... Well, not exactly great, just the same way it works on other radeons.
author attila
date Mon, 03 Nov 2003 10:30:20 +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; }'