Original commit message from CVS: Negotiation fixes.
Original commit message from CVS: Merge CAPS branch
Original commit message from CVS: Rewrote much of videoscale. Now handles most common YUV formats as well as 32 and 24 bit RGB. Only handles "nearest" scaling.