Improve SDTV and SDDVD quality detection by matching source and encoding separately.
Merge branch 'quality-detection' into mrmachine