mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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> |
||
---|---|---|
.. | ||
stub | ||
cuda-gst.h | ||
cuda-prelude.h | ||
gstcuda-private.h | ||
gstcuda.h | ||
gstcudabufferpool.cpp | ||
gstcudabufferpool.h | ||
gstcudacontext.cpp | ||
gstcudacontext.h | ||
gstcudaloader.cpp | ||
gstcudaloader.h | ||
gstcudamemory.cpp | ||
gstcudamemory.h | ||
gstcudanvrtc.cpp | ||
gstcudanvrtc.h | ||
gstcudastream.cpp | ||
gstcudastream.h | ||
gstcudautils.cpp | ||
gstcudautils.h | ||
meson.build |