X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgsttracerutils.h;h=a2a5ed6d2a2141c808014ea85b5b615fd39db49b;hb=937a6ca6d323a4309f9b9f019a39a3b93cf243e7;hp=9521b6ecf769a15c2c6e3f65997694a26c4f61b7;hpb=30133909cefab53447556a4f82d4ccb63f0027a6;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gsttracerutils.h b/gst/gsttracerutils.h index 9521b6e..a2a5ed6 100644 --- a/gst/gsttracerutils.h +++ b/gst/gsttracerutils.h @@ -358,7 +358,7 @@ typedef void (*GstTracerHookElementQueryPost) (GObject *self, GstClockTime ts, * @ts: the current timestamp * @element: the element * - * Hook for gst_element_new() named "element-new". + * Hook for whenever a new element is created, named "element-new". */ typedef void (*GstTracerHookElementNew) (GObject *self, GstClockTime ts, GstElement *element); @@ -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". @@ -697,6 +697,17 @@ typedef void (*GstTracerHookObjectDestroyed) (GObject *self, GstClockTime ts, #else /* !GST_DISABLE_GST_TRACER_HOOKS */ +static inline void +_priv_gst_tracing_init (void) +{ + GST_DEBUG ("Tracing hooks are disabled"); +} + +static inline void +_priv_gst_tracing_deinit (void) +{ +} + #define GST_TRACER_PAD_PUSH_PRE(pad, buffer) #define GST_TRACER_PAD_PUSH_POST(pad, res) #define GST_TRACER_PAD_PUSH_LIST_PRE(pad, list) @@ -727,7 +738,7 @@ typedef void (*GstTracerHookObjectDestroyed) (GObject *self, GstClockTime ts, #define GST_TRACER_MINI_OBJECT_CREATED(object) #define GST_TRACER_MINI_OBJECT_DESTROYED(object) #define GST_TRACER_MINI_OBJECT_REFFED(object, new_refcount) -#define GST_TRACER_MINI_OBJECT_UNREF(object, new_refcount) +#define GST_TRACER_MINI_OBJECT_UNREFFED(object, new_refcount) #define GST_TRACER_OBJECT_CREATED(object) #define GST_TRACER_OBJECT_DESTROYED(object) #define GST_TRACER_OBJECT_REFFED(object, new_refcount)