_dma_fmt_to_dma_drm_fmts: assertion ‘fmt != GST_VIDEO_FORMAT_UNKNOWN’ failed

Built gstreamer 1.24.13 from the source on Ubuntu 22.04. When the app(Qt5) starts, the following error message shows up.

** (gst-plugin-scanner:1543): CRITICAL **: 20:12:29.269: _dma_fmt_to_dma_drm_fmts: assertion ‘fmt != GST_VIDEO_FORMAT_UNKNOWN’ failed

The rendering of streaming seems still ok despite the error.

How to fix this issue? Thanks for your help in advance.

If this is an issue in GStreamer,.it’s best to test against the latest stable (1.26) or main.

To share the understanding of what is happening,.it will help if you share the assertion backtrace (G_DEBUG=fatal_criticals env and gdb) and give links to the QT code, so we see what it is trying to do.