* @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);
* @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"
* @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".
* @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".
* @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".
#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)
#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)