Fix bug RC_QUALITY_MODE not works as expected
Merge pull request #1354 from lyao2/fix_qualitymode_bug2

Fix bug RC_QUALITY_MODE not works as expected