msdk: Avoid noisy registry when no MSDK device.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 21 Jan 2022 10:13:55 +0000 (11:13 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 21 Jan 2022 10:13:55 +0000 (11:13 +0100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1550>

subprojects/gst-plugins-bad/sys/msdk/msdk.c

index 4797519..b46786b 100644 (file)
@@ -199,7 +199,7 @@ msdk_init_msdk_session (mfxIMPL impl, mfxVersion * pver,
     GST_INFO ("Use the Intel oneVPL SDK to create MFX session");
 
     if (!loader) {
-      GST_ERROR ("Failed to create a MFX loader");
+      GST_WARNING ("Failed to create a MFX loader");
       return MFX_ERR_UNKNOWN;
     }
 
@@ -300,7 +300,7 @@ msdk_init_msdk_session (mfxIMPL impl, mfxVersion * pver,
   status = MFXInitEx (init_par, &session);
 
   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));
     return status;
   }