From 89ee5d948dff560204e6edd210c44ed2b8654b8e Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sat, 16 Jan 2016 13:24:16 +0100 Subject: [PATCH] tracer: add a GFlag for the tracer scope Port all tracers. Add the GST_USE_UNSTABLE_API flag to the internal CFLAGS so that we don't have to specify this for gir, docs, mkenum, ... --- configure.ac | 4 +-- docs/gst/Makefile.am | 2 +- gst/gst.h | 1 + gst/gsttracer.c | 2 -- gst/gsttracerrecord.c | 2 -- gst/gsttracerrecord.h | 21 ++++++++++++++ gst/gsttracerutils.c | 2 -- plugins/tracers/Makefile.am | 3 +- plugins/tracers/gstlatency.c | 5 ++-- plugins/tracers/gstrusage.c | 5 ++-- plugins/tracers/gststats.c | 54 +++++++++++++++-------------------- tests/check/Makefile.am | 2 +- win32/common/libgstreamer.def | 1 + 13 files changed, 55 insertions(+), 49 deletions(-) diff --git a/configure.ac b/configure.ac index 83d1c216ae..0f1eae913f 100644 --- a/configure.ac +++ b/configure.ac @@ -922,8 +922,8 @@ dnl - src and build dirs need to be added because every piece that gets built dnl will need the GStreamer source and generated headers dnl LIBS: XML doesn't need to be added because we don't explicitly use symbols dnl from LibXML except for in the core library -GST_ALL_CXXFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS \$(GLIB_EXTRA_CFLAGS) $XML_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(ERROR_CXXFLAGS)" -GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS \$(GLIB_EXTRA_CFLAGS) $XML_CFLAGS \$(GST_OPTION_CFLAGS) \$(ERROR_CFLAGS)" +GST_ALL_CXXFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS \$(GLIB_EXTRA_CFLAGS) $XML_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(ERROR_CXXFLAGS) -DGST_USE_UNSTABLE_API" +GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS \$(GLIB_EXTRA_CFLAGS) $XML_CFLAGS \$(GST_OPTION_CFLAGS) \$(ERROR_CFLAGS) -DGST_USE_UNSTABLE_API" dnl FIXME: check if LTLIBINTL is needed everywhere dnl I presume it is given that it contains the symbols that _() stuff maps to diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am index b97fa1e01a..9e4f4000e7 100644 --- a/docs/gst/Makefile.am +++ b/docs/gst/Makefile.am @@ -75,7 +75,7 @@ extra_files = gst-universe.dot # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib # contains GtkObjects/GObjects and you want to document signals and properties. -GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) -DGST_USE_UNSTABLE_API +GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) GTKDOC_LIBS = $(GST_OBJ_LIBS) \ $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la \ $(top_builddir)/libs/gst/base/libgstbase-@GST_API_VERSION@.la \ diff --git a/gst/gst.h b/gst/gst.h index a9c7dc4b76..4dcea2271f 100644 --- a/gst/gst.h +++ b/gst/gst.h @@ -78,6 +78,7 @@ #include #include #include +#include #include #include #include diff --git a/gst/gsttracer.c b/gst/gsttracer.c index e5645dcf25..567c37aca8 100644 --- a/gst/gsttracer.c +++ b/gst/gsttracer.c @@ -31,8 +31,6 @@ * Since: 1.8 */ -#define GST_USE_UNSTABLE_API - #include "gst_private.h" #include "gstenumtypes.h" #include "gsttracer.h" diff --git a/gst/gsttracerrecord.c b/gst/gsttracerrecord.c index 060aead6d7..284b91a454 100644 --- a/gst/gsttracerrecord.c +++ b/gst/gsttracerrecord.c @@ -29,8 +29,6 @@ * Since: 1.8 */ -#define GST_USE_UNSTABLE_API - #include "gst_private.h" #include "gstinfo.h" #include "gststructure.h" diff --git a/gst/gsttracerrecord.h b/gst/gsttracerrecord.h index c69f6e8e7a..fa561454ec 100644 --- a/gst/gsttracerrecord.h +++ b/gst/gsttracerrecord.h @@ -52,6 +52,27 @@ void gst_tracer_record_log (GstTracerRecord *self, ...); G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTracerRecord, gst_object_unref) #endif +/** + * GstTracerValueScope: + * @GST_TRACER_VALUE_SCOPE_PROCESS: the value is related to the process + * @GST_TRACER_VALUE_SCOPE_THREAD: the value is related to a thread + * @GST_TRACER_VALUE_SCOPE_ELEMENT: the value is related to an #GstElement + * @GST_TRACER_VALUE_SCOPE_PAD: the value is related to a #GstPad + * + * Tracing record will contain fields that contain a meassured value or extra + * meta-data. One such meta data are values that tell where a measurement was + * taken. This enumerating declares to which scope such a meta data field + * relates to. If it is e.g. %GST_TRACER_VALUE_SCOPE_PAD, then each of the log + * events may contain values for different #GstPads. + */ +typedef enum +{ + GST_TRACER_VALUE_SCOPE_PROCESS, + GST_TRACER_VALUE_SCOPE_THREAD, + GST_TRACER_VALUE_SCOPE_ELEMENT, + GST_TRACER_VALUE_SCOPE_PAD +} GstTracerValueScope; + G_END_DECLS #endif /* __GST_TRACER_RECORD_H__ */ diff --git a/gst/gsttracerutils.c b/gst/gsttracerutils.c index 1b70d391bf..d30c71a086 100644 --- a/gst/gsttracerutils.c +++ b/gst/gsttracerutils.c @@ -30,8 +30,6 @@ * to a ';' separated list of tracers. */ -#define GST_USE_UNSTABLE_API - #include "gst_private.h" #include "gsttracer.h" #include "gsttracerfactory.h" diff --git a/plugins/tracers/Makefile.am b/plugins/tracers/Makefile.am index f6efee64de..8f67e87925 100644 --- a/plugins/tracers/Makefile.am +++ b/plugins/tracers/Makefile.am @@ -23,8 +23,7 @@ libgstcoretracers_la_SOURCES = \ gststats.c \ gsttracers.c -libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \ - -DGST_USE_UNSTABLE_API +libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) libgstcoretracers_la_LIBADD = \ $(GST_PRINTF_LA) \ $(GST_OBJ_LIBS) diff --git a/plugins/tracers/gstlatency.c b/plugins/tracers/gstlatency.c index 93d93eb9e7..bb22fec3ad 100644 --- a/plugins/tracers/gstlatency.c +++ b/plugins/tracers/gstlatency.c @@ -38,7 +38,6 @@ #endif #include "gstlatency.h" -#include GST_DEBUG_CATEGORY_STATIC (gst_latency_debug); #define GST_CAT_DEFAULT gst_latency_debug @@ -207,11 +206,11 @@ gst_latency_tracer_class_init (GstLatencyTracerClass * klass) tr_latency = gst_tracer_record_new (gst_structure_new ("latency.class", "src", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_STRING, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "sink", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_STRING, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "time", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, diff --git a/plugins/tracers/gstrusage.c b/plugins/tracers/gstrusage.c index c455dab14f..d594363a0a 100644 --- a/plugins/tracers/gstrusage.c +++ b/plugins/tracers/gstrusage.c @@ -31,7 +31,6 @@ #include #include "gstrusage.h" -#include #ifdef HAVE_SYS_RESOURCE_H #ifndef __USE_GNU @@ -288,7 +287,7 @@ gst_rusage_tracer_class_init (GstRUsageTracerClass * klass) tr_thread = gst_tracer_record_new (gst_structure_new ("thread-rusage.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -319,7 +318,7 @@ gst_rusage_tracer_class_init (GstRUsageTracerClass * klass) tr_proc = gst_tracer_record_new (gst_structure_new ("proc-rusage.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "process", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PROCESS, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, diff --git a/plugins/tracers/gststats.c b/plugins/tracers/gststats.c index 87c19278e0..0a51ca69ae 100644 --- a/plugins/tracers/gststats.c +++ b/plugins/tracers/gststats.c @@ -30,7 +30,6 @@ #endif #include "gststats.h" -#include #include @@ -520,7 +519,7 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) tr_buffer = gst_tracer_record_new (gst_structure_new ("buffer.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -528,19 +527,19 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) NULL), "pad-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "peer-pad-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "peer-element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "buffer-size", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT, @@ -568,7 +567,7 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) tr_event = gst_tracer_record_new (gst_structure_new ("event.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -576,11 +575,11 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) NULL), "pad-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "name", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, @@ -591,7 +590,7 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) tr_message = gst_tracer_record_new (gst_structure_new ("message.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -599,7 +598,7 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) NULL), "element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "name", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, @@ -615,7 +614,7 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) "element-query.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -623,18 +622,17 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) NULL), "element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "name", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, "description", G_TYPE_STRING, "name of the query", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), NULL)); tr_query = gst_tracer_record_new (gst_structure_new ("query.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -642,29 +640,27 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) NULL), "pad-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "peer-pad-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "peer-element-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "name", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, "description", G_TYPE_STRING, "name of the query", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), "structure", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, GST_TYPE_STRUCTURE, "description", G_TYPE_STRING, "query structure", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), "have-res", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_BOOLEAN, @@ -680,7 +676,7 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) "new-element.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ts", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_UINT64, @@ -688,21 +684,19 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) NULL), "ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "parent-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "name", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, "description", G_TYPE_STRING, "name of the element", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), "type", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, "description", G_TYPE_STRING, "type name of the element", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), "is-bin", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_BOOLEAN, @@ -712,25 +706,23 @@ gst_stats_tracer_class_init (GstStatsTracerClass * klass) tr_new_pad = gst_tracer_record_new (gst_structure_new ("new-pad.class", "thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT64, - "related-to", G_TYPE_STRING, "thread", /* TODO use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD, NULL), "ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "pad", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_PAD, NULL), "parent-ix", GST_TYPE_STRUCTURE, gst_structure_new ("scope", "type", G_TYPE_GTYPE, G_TYPE_UINT, - "related-to", G_TYPE_STRING, "element", /* TODO: use genum */ + "related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_ELEMENT, NULL), "name", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, "description", G_TYPE_STRING, "name of the pad", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), "type", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_STRING, "description", G_TYPE_STRING, "type name of the pad", - "flags", G_TYPE_STRING, "", /* TODO: use gflags */ NULL), "is-ghostpad", GST_TYPE_STRUCTURE, gst_structure_new ("value", "type", G_TYPE_GTYPE, G_TYPE_BOOLEAN, diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 560b5b1f67..d58e98cb39 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -207,7 +207,7 @@ gst_gstcpp_SOURCES = gst/gstcpp.cc libs_gstlibscpp_SOURCES = libs/gstlibscpp.cc -gst_gsttracerrecord_CFLAGS = $(GST_OBJ_CFLAGS) $(AM_CFLAGS) -DGST_USE_UNSTABLE_API +gst_gsttracerrecord_CFLAGS = $(GST_OBJ_CFLAGS) $(AM_CFLAGS) gst_gstutils_LDADD = $(LDADD) $(GSL_LIBS) $(GMP_LIBS) diff --git a/win32/common/libgstreamer.def b/win32/common/libgstreamer.def index 860306da61..839b0e5209 100644 --- a/win32/common/libgstreamer.def +++ b/win32/common/libgstreamer.def @@ -1395,6 +1395,7 @@ EXPORTS gst_tracer_record_log gst_tracer_record_new gst_tracer_register + gst_tracer_value_scope_get_type gst_tracing_register_hook gst_type_find_factory_call_function gst_type_find_factory_get_caps