msdk: Don't print error log for missing DRM device path
authorSeungha Yang <seungha@centricular.com>
Wed, 2 Mar 2022 19:57:42 +0000 (04:57 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 3 Mar 2022 06:29:11 +0000 (06:29 +0000)
It's expected in case that such DRM device is unavailable for some reasons,
specifically non-Intel platform or so

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1836>

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

index c64c21d..06836b7 100644 (file)
@@ -170,7 +170,7 @@ gst_msdk_context_use_vaapi (GstMsdkContext * context)
 
   path = get_device_path ();
   if (path == NULL) {
-    GST_ERROR ("Couldn't find a drm device node to open");
+    GST_WARNING ("Couldn't find a drm device node to open");
     return FALSE;
   }