mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
85b6625150
gstcudaloader.cpp defines GST_DEBUG_CATEGORY (gst_cudaloader_debug); but it wasn't initializing it anywhere. This caused the following error to be logged by gst-plugin-scanner when libcuda.so.1/nvcuda.dll couldn't be loaded, e.g. in systems without CUDA: (gst-plugin-scanner:39618): GStreamer-CRITICAL **: 14:40:22.346: gst_debug_log_full_valist: assertion 'category != NULL' failed This patch fixes the bug by initializing the category in gst_cuda_load_library_once_func() before any logging occurs. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4154> |
||
---|---|---|
.. | ||
gst | ||
meson.build |