Commit d8e38ee1 authored by Haihao Xiang's avatar Haihao Xiang Committed by Tim-Philipp Müller

msdk: add missing breaks

parent f13f3872
......@@ -175,6 +175,7 @@ ensure_bitrate_control (GstMsdkEnc * thiz)
case MFX_RATECONTROL_AVBR:
mfx->Accuracy = thiz->accuracy;
mfx->Convergence = thiz->convergence;
break;
case MFX_RATECONTROL_VBR:
option2->MaxFrameSize = thiz->max_frame_size * 1000;
......
......@@ -103,6 +103,7 @@ gst_msdk_get_mfx_status_from_va_status (VAStatus va_res)
break;
case VA_STATUS_ERROR_INVALID_PARAMETER:
mfxRes = MFX_ERR_INVALID_VIDEO_PARAM;
break;
default:
mfxRes = MFX_ERR_UNKNOWN;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment