tracer: move prototype to the right header

Fixes the build when the tracing subsystem is disabled.
This commit is contained in:
Stefan Sauer 2015-10-06 18:52:38 +02:00
parent ddc5654b60
commit 77ef6000c6
2 changed files with 4 additions and 4 deletions

View file

@ -67,6 +67,10 @@ void gst_tracing_register_hook (GstTracer *tracer, const gchar *detail,
void gst_tracing_register_hook_id (GstTracer *tracer, GQuark detail, void gst_tracing_register_hook_id (GstTracer *tracer, GQuark detail,
GCallback func); GCallback func);
/* tracing modules */
gboolean gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type);
/* tracing module helpers */
void gst_tracer_log_trace (GstStructure * s); void gst_tracer_log_trace (GstStructure * s);
G_END_DECLS G_END_DECLS

View file

@ -37,10 +37,6 @@ G_BEGIN_DECLS
void _priv_gst_tracing_init (void); void _priv_gst_tracing_init (void);
void _priv_gst_tracing_deinit (void); void _priv_gst_tracing_deinit (void);
/* tracing modules */
gboolean gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type);
/* tracer quarks */ /* tracer quarks */
/* These enums need to match the number and order /* These enums need to match the number and order