Improve SDTV and SDDVD quality detection by matching source and encoding separately.