mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
msdk: add missing breaks
This commit is contained in:
parent
a1aae3fd92
commit
0e7e425bb9
2 changed files with 2 additions and 0 deletions
|
@ -180,6 +180,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;
|
||||
|
|
|
@ -104,6 +104,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;
|
||||
|
|
Loading…
Reference in a new issue