private: allow internal access to the debug base-time
authorStefan Sauer <ensonic@users.sf.net>
Wed, 23 Jul 2014 19:27:48 +0000 (21:27 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 23 Jul 2014 19:30:21 +0000 (21:30 +0200)
Moving the extern to the head lets us access this from other parts as well. This
is neeed in the tracer branch.

gst/gst_private.h
gst/gstdebugutils.c

index b25707c..aa77cb8 100644 (file)
@@ -244,6 +244,8 @@ GST_EXPORT GstDebugCategory *GST_CAT_CONTEXT;
 #define GST_CAT_POLL _priv_GST_CAT_POLL
 extern GstDebugCategory *_priv_GST_CAT_POLL;
 
+extern GstClockTime _priv_gst_info_start_time;
+
 #else
 
 #define GST_CAT_GST_INIT         NULL
index 96901c3..d8fa2df 100644 (file)
@@ -63,8 +63,6 @@ const gchar spaces[] = {
       "                                "        /* 128 */
 };
 
-extern GstClockTime _priv_gst_info_start_time;
-
 static gchar *
 debug_dump_make_object_name (GstObject * obj)
 {