From b08b49d548f97cdcc4836a75a18bc434568eaae7 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 9 Dec 2024 18:32:34 -0300 Subject: [PATCH] doc: Add some missing doc strings Part-of: --- subprojects/gstreamer/plugins/tracers/gstlatency.h | 7 +++++++ subprojects/gstreamer/plugins/tracers/gstleaks.h | 8 ++++++++ subprojects/gstreamer/plugins/tracers/gststats.c | 6 ++++++ 3 files changed, 21 insertions(+) diff --git a/subprojects/gstreamer/plugins/tracers/gstlatency.h b/subprojects/gstreamer/plugins/tracers/gstlatency.h index 9301b1da90..e69074eb4d 100644 --- a/subprojects/gstreamer/plugins/tracers/gstlatency.h +++ b/subprojects/gstreamer/plugins/tracers/gstlatency.h @@ -42,6 +42,11 @@ G_BEGIN_DECLS typedef struct _GstLatencyTracer GstLatencyTracer; typedef struct _GstLatencyTracerClass GstLatencyTracerClass; +/** + * GstLatencyTracerFlags: + * + * Since: 1.16 + */ typedef enum { GST_LATENCY_TRACER_FLAG_PIPELINE = 1 << 0, @@ -53,6 +58,8 @@ typedef enum * GstLatencyTracer: * * Opaque #GstLatencyTracer data structure + * + * Since: 1.8 */ struct _GstLatencyTracer { GstTracer parent; diff --git a/subprojects/gstreamer/plugins/tracers/gstleaks.h b/subprojects/gstreamer/plugins/tracers/gstleaks.h index da26d4294e..8d81ecb148 100644 --- a/subprojects/gstreamer/plugins/tracers/gstleaks.h +++ b/subprojects/gstreamer/plugins/tracers/gstleaks.h @@ -42,6 +42,14 @@ G_BEGIN_DECLS typedef struct _GstLeaksTracer GstLeaksTracer; typedef struct _GstLeaksTracerClass GstLeaksTracerClass; +/** + * GstLeaksStackTraceFlags: + * @GST_LEAKS_STACK_TRACE_DISABLED: no stack trace + * @GST_LEAKS_STACK_TRACE_NONE: minimal stack trace + * @GST_LEAKS_STACK_TRACE_FULL: full stack trace + * + * Since: 1.26 + */ typedef enum { GST_LEAKS_STACK_TRACE_DISABLED = -1, GST_LEAKS_STACK_TRACE_NONE = GST_STACK_TRACE_SHOW_NONE, diff --git a/subprojects/gstreamer/plugins/tracers/gststats.c b/subprojects/gstreamer/plugins/tracers/gststats.c index d2a84c2aba..51644d84f0 100644 --- a/subprojects/gstreamer/plugins/tracers/gststats.c +++ b/subprojects/gstreamer/plugins/tracers/gststats.c @@ -25,6 +25,12 @@ * A tracing module that builds usage statistic for elements and pads. */ +/** + * GstStatsTracer: + * + * Since: 1.8 + */ + #ifdef HAVE_CONFIG_H # include "config.h" #endif