gstreamer/subprojects/gst-plugins-bad/gst-libs/gst
Alicia Boya García 85b6625150 cudaloader: Initialize logging category
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>
2023-03-14 03:07:50 +00:00
..
adaptivedemux adaptivedemux: Minor typo fix 2022-10-27 19:45:44 +00:00
audio badaudio: Add/fix annotations 2022-10-18 13:51:16 +03:00
basecamerabinsrc docs: fix unnecessary ampersand, < and > escaping in code blocks 2021-11-12 11:39:19 +00:00
codecparsers h265parser: Add an API for HEVCDecoderConfigurationRecord parsing 2023-03-06 12:50:41 +00:00
codecs h265decoder: Use gst_h265_parser_parse_decoder_config_record() 2023-03-06 12:50:41 +00:00
cuda cudaloader: Initialize logging category 2023-03-14 03:07:50 +00:00
d3d11 d3d11memory: Remove GstPoll from GstD3D11PoolAllocator 2023-03-05 22:51:24 +09:00
insertbin libs: insertbin: drop use of GSlice allocator 2023-01-24 15:25:07 +00:00
interfaces meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
isoff gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
mpegts libs: mpegts: drop use of GSlice allocator 2023-01-24 15:25:07 +00:00
opencv meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
play gstplay: add warning message details check before post it 2022-11-15 01:01:10 +00:00
player meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
sctp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
transcoder transcoder: Don't leak API bus and GMainLoop 2022-11-12 10:33:51 +01:00
uridownloader meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
va va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
vulkan vulkan: imagebufferpool: Remove video meta handling. 2023-01-26 11:49:00 +00:00
wayland wayland: Export the _get_type() functions 2023-02-01 15:29:26 +00:00
webrtc webrtc: fix g-i annotations for allow-none 2023-03-10 13:09:25 +00:00
winrt gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
glib-compat-private.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00