From f5b962cd0d591e507d782846f96e7588932ce651 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 2 Apr 2018 12:42:30 +0200 Subject: [PATCH] gst: Documentation fixes * Fix copy-paste error for GstParamSpecArray documentation * Use proper field name for tracer utils documentation --- gst/gstparamspecs.h | 5 ++--- gst/gsttracerutils.h | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gst/gstparamspecs.h b/gst/gstparamspecs.h index 1d69f95..4f5d8e3 100644 --- a/gst/gstparamspecs.h +++ b/gst/gstparamspecs.h @@ -118,10 +118,9 @@ struct _GstParamSpecFraction { /** * GstParamSpecArray: * @parent_instance: super class - * @value_array: the array of values + * @element_spec: the #GParamSpec of the type of values in the array * - * A GParamSpec derived structure that contains the meta data for fractional - * properties. + * A GParamSpec derived structure for arrays of values. */ struct _GstParamSpecArray { GParamSpec parent_instance; diff --git a/gst/gsttracerutils.h b/gst/gsttracerutils.h index bbb1a0d..a2a5ed6 100644 --- a/gst/gsttracerutils.h +++ b/gst/gsttracerutils.h @@ -600,7 +600,7 @@ typedef void (*GstTracerHookMiniObjectDestroyed) (GObject *self, GstClockTime ts * @self: the tracer instance * @ts: the current timestamp * @object: the object being unreffed - * @refcount: the new refcount after unrefing @object + * @new_refcount: the new refcount after unrefing @object * * Hook called when a #GstObject is being unreffed named * "object-unreffed" @@ -617,7 +617,7 @@ typedef void (*GstTracerHookObjectUnreffed) (GObject *self, GstClockTime ts, * @self: the tracer instance * @ts: the current timestamp * @object: the object being reffed - * @refcount: the new refcount after refing @object + * @new_refcount: the new refcount after refing @object * * Hook called when a #GstObject is being reffed named * "object-reffed". @@ -634,7 +634,7 @@ typedef void (*GstTracerHookObjectReffed) (GObject *self, GstClockTime ts, * @self: the tracer instance * @ts: the current timestamp * @object: the mini object being unreffed - * @refcount: the new refcount after unrefing @object + * @new_refcount: the new refcount after unrefing @object * * Hook called when a #GstMiniObject is being unreffed named * "mini-object-unreffed". @@ -651,7 +651,7 @@ typedef void (*GstTracerHookMiniObjectUnreffed) (GObject *self, GstClockTime ts, * @self: the tracer instance * @ts: the current timestamp * @object: the mini object being reffed - * @refcount: the new refcount after refing @object + * @new_refcount: the new refcount after refing @object * * Hook called when a #GstMiniObject is being reffed named * "mini-object-reffed". -- 2.7.4