Simplify finding pix_fmt and only use it on codecs where it's necessary. (avoids a bug in QT)
Simplify finding pix_fmt and only use it on codecs where it's necessary. (avoids a bug in QT)

MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian