Provide check function for long routines
Do not enable vdpau codecs (useless); Put a maximum on the number of iterations to flush decoders