avcodec: Prioritize quality over smoothness when performance is insufficient.
Two changes:
1.By default, prioritize quality to avoid visual anomalies caused by skipping frames due to reference frame trends.
2.Ensure avcodec-hurry-up is enabled before performing the check_block_being_late detection.