add do... while code for MFX_WRN_DEVICE_BUSY.