From 794ad2841af092d1d59c1b415f8d30aa02e67e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alicia=20Boya=20Garc=C3=ADa?= Date: Mon, 27 Jan 2025 13:58:50 +0100 Subject: [PATCH] docs: Fix log category names in the log tracer The documentation was incorrectly referring to `GST_QUERY` and `GST_BIN` as GstDebug category names. These two don't follow the pattern of the rest, and instead are named `query` and `bin` respectively. This can be verified from the source code of the _do_init macro in the same gstlog.c file, and from gstbin.c and gstquery.c calls to GST_DEBUG_CATEGORY_INIT(). Part-of: --- subprojects/gstreamer/plugins/tracers/gstlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gstreamer/plugins/tracers/gstlog.c b/subprojects/gstreamer/plugins/tracers/gstlog.c index 985598ef41..660da2709e 100644 --- a/subprojects/gstreamer/plugins/tracers/gstlog.c +++ b/subprojects/gstreamer/plugins/tracers/gstlog.c @@ -59,7 +59,7 @@ * * `GST_DEBUG=GST_EVENT:TRACE` * * `pad-push-event-pre`, `pad-push-event-post` * * `pad-send-event-pre`, `pad-send-event-post` - * * `GST_DEBUG=GST_QUERY:TRACE` + * * `GST_DEBUG=query:TRACE` * * `pad-query-pre`, `pad-query-post` * * `element-query-pre`, `element-query-post` * * `GST_DEBUG=GST_MESSAGE:TRACE` @@ -71,7 +71,7 @@ * * `element-remove-pad` * * `GST_DEBUG=GST_STATES:TRACE` * * `element-change-state-pre`, `element-change-state-post` - * * `GST_DEBUG=GST_BIN:TRACE` + * * `GST_DEBUG=bin:TRACE` * * `bin-add-pre`, `bin-add-post` * * `bin-remove-pre`, `bin-remove-post` * * `GST_DEBUG=GST_PADS:TRACE`