debugutils: use generic marshaller

This commit is contained in:
Tim-Philipp Müller 2016-02-03 21:13:58 +00:00
parent 730d92ea8d
commit a2d3231ec7
4 changed files with 1 additions and 22 deletions

View file

@ -1,2 +0,0 @@
debugutils-marshal.c
debugutils-marshal.h

View file

@ -1,17 +1,3 @@
glib_gen_prefix = __gst_debugutils
glib_gen_basename = debugutils
include $(top_srcdir)/common/gst-glib-gen.mak
built_sources = debugutils-marshal.c
built_headers = debugutils-marshal.h
BUILT_SOURCES = $(built_sources) $(built_headers)
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = debugutils-marshal.list
plugin_LTLIBRARIES = libgstdebugutilsbad.la
libgstdebugutilsbad_la_SOURCES = \
@ -24,7 +10,6 @@ libgstdebugutilsbad_la_SOURCES = \
gstwatchdog.c \
gsterrorignore.c
nodist_libgstdebugutilsbad_la_SOURCES = $(BUILT_SOURCES)
libgstdebugutilsbad_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
libgstdebugutilsbad_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
-lgstvideo-$(GST_API_VERSION) \

View file

@ -1,2 +0,0 @@
VOID:DOUBLE,DOUBLE,DOUBLE

View file

@ -47,7 +47,6 @@
#include "config.h"
#endif
#include "debugutils-marshal.h"
#include "fpsdisplaysink.h"
#define DEFAULT_SIGNAL_FPS_MEASUREMENTS FALSE
@ -203,8 +202,7 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass)
*/
fpsdisplaysink_signals[SIGNAL_FPS_MEASUREMENTS] =
g_signal_new ("fps-measurements", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
__gst_debugutils_marshal_VOID__DOUBLE_DOUBLE_DOUBLE,
G_SIGNAL_RUN_LAST, 0, NULL, NULL, NULL,
G_TYPE_NONE, 3, G_TYPE_DOUBLE, G_TYPE_DOUBLE, G_TYPE_DOUBLE);
gstelement_klass->change_state = fps_display_sink_change_state;