gl: raise WARNING instead of ERROR when no connector is connected
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>
Thu, 12 Dec 2024 09:43:26 +0000 (10:43 +0100)
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>
Thu, 12 Dec 2024 09:43:26 +0000 (10:43 +0100)
This is a valid and working use case when rendering on a headless
server.

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

subprojects/gst-plugins-base/gst-libs/gst/gl/gbm/gstgldisplay_gbm.c

index 485c5d013b3fd9372907b262e144dcc913426278..70224ea614542ad0c1acecb1b55db0a33418916a 100644 (file)
@@ -216,7 +216,7 @@ gst_gl_display_gbm_setup_drm (GstGLDisplayGBM * display_gbm, const gchar *
     }
 
     if (connected_connector == NULL) {
-      GST_ERROR ("No connected DRM connector found");
+      GST_WARNING ("No connected DRM connector found");
       goto cleanup;
     }