mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
msdk: Avoid noisy registry when no MSDK device.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1550>
This commit is contained in:
parent
ccc4dc2d83
commit
08aa930fee
1 changed files with 2 additions and 2 deletions
|
@ -199,7 +199,7 @@ msdk_init_msdk_session (mfxIMPL impl, mfxVersion * pver,
|
||||||
GST_INFO ("Use the Intel oneVPL SDK to create MFX session");
|
GST_INFO ("Use the Intel oneVPL SDK to create MFX session");
|
||||||
|
|
||||||
if (!loader) {
|
if (!loader) {
|
||||||
GST_ERROR ("Failed to create a MFX loader");
|
GST_WARNING ("Failed to create a MFX loader");
|
||||||
return MFX_ERR_UNKNOWN;
|
return MFX_ERR_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ msdk_init_msdk_session (mfxIMPL impl, mfxVersion * pver,
|
||||||
status = MFXInitEx (init_par, &session);
|
status = MFXInitEx (init_par, &session);
|
||||||
|
|
||||||
if (status != MFX_ERR_NONE) {
|
if (status != MFX_ERR_NONE) {
|
||||||
GST_ERROR ("Failed to initialize a MFX session (%s)",
|
GST_WARNING ("Failed to initialize a MFX session (%s)",
|
||||||
msdk_status_to_string (status));
|
msdk_status_to_string (status));
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue