diff --git a/gst/udp/Makefile.am b/gst/udp/Makefile.am index 53e4c06fff..6a6a94f53b 100644 --- a/gst/udp/Makefile.am +++ b/gst/udp/Makefile.am @@ -8,8 +8,8 @@ glib_gen_basename = gstudp include $(top_srcdir)/common/gst-glib-gen.mak -built_sources = gstudp-enumtypes.c gstudp-marshal.c -built_headers = gstudp-enumtypes.h gstudp-marshal.h +built_sources = gstudp-enumtypes.c +built_headers = gstudp-enumtypes.h BUILT_SOURCES = $(built_sources) $(built_headers) @@ -25,7 +25,7 @@ nodist_libgstudp_la_SOURCES = \ noinst_HEADERS = gstudpsink.h gstudpsrc.h gstudp.h gstmultiudpsink.h gstdynudpsink.h gstudpnetutils.h -EXTRA_DIST = README gstudp-marshal.list +EXTRA_DIST = README CLEANFILES = $(BUILT_SOURCES) diff --git a/gst/udp/gstdynudpsink.c b/gst/udp/gstdynudpsink.c index 96150fa69e..84076a316f 100644 --- a/gst/udp/gstdynudpsink.c +++ b/gst/udp/gstdynudpsink.c @@ -28,7 +28,6 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "gstudp-marshal.h" #include "gstdynudpsink.h" #include @@ -105,7 +104,7 @@ gst_dynudpsink_class_init (GstDynUDPSinkClass * klass) g_signal_new ("get-stats", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstDynUDPSinkClass, get_stats), - NULL, NULL, gst_udp_marshal_BOXED__STRING_INT, GST_TYPE_STRUCTURE, 2, + NULL, NULL, g_cclosure_marshal_generic, GST_TYPE_STRUCTURE, 2, G_TYPE_STRING, G_TYPE_INT); g_object_class_install_property (gobject_class, PROP_SOCKET, diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c index f012c1fc30..dc51a103ec 100644 --- a/gst/udp/gstmultiudpsink.c +++ b/gst/udp/gstmultiudpsink.c @@ -36,7 +36,6 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "gstudp-marshal.h" #include "gstmultiudpsink.h" #include @@ -174,7 +173,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) g_signal_new ("add", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstMultiUDPSinkClass, add), - NULL, NULL, gst_udp_marshal_VOID__STRING_INT, G_TYPE_NONE, 2, + NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT); /** * GstMultiUDPSink::remove: @@ -189,7 +188,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) g_signal_new ("remove", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstMultiUDPSinkClass, remove), - NULL, NULL, gst_udp_marshal_VOID__STRING_INT, G_TYPE_NONE, 2, + NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT); /** * GstMultiUDPSink::clear: @@ -201,7 +200,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) g_signal_new ("clear", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstMultiUDPSinkClass, clear), - NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 0); /** * GstMultiUDPSink::get-stats: * @gstmultiudpsink: the sink on which the signal is emitted @@ -217,7 +216,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) g_signal_new ("get-stats", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstMultiUDPSinkClass, get_stats), - NULL, NULL, gst_udp_marshal_BOXED__STRING_INT, GST_TYPE_STRUCTURE, 2, + NULL, NULL, g_cclosure_marshal_generic, GST_TYPE_STRUCTURE, 2, G_TYPE_STRING, G_TYPE_INT); /** * GstMultiUDPSink::client-added: @@ -231,7 +230,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) gst_multiudpsink_signals[SIGNAL_CLIENT_ADDED] = g_signal_new ("client-added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMultiUDPSinkClass, client_added), - NULL, NULL, gst_udp_marshal_VOID__STRING_INT, G_TYPE_NONE, 2, + NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT); /** * GstMultiUDPSink::client-removed: @@ -245,7 +244,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) gst_multiudpsink_signals[SIGNAL_CLIENT_REMOVED] = g_signal_new ("client-removed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMultiUDPSinkClass, - client_removed), NULL, NULL, gst_udp_marshal_VOID__STRING_INT, + client_removed), NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT); g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BYTES_TO_SERVE, diff --git a/gst/udp/gstudp-marshal.list b/gst/udp/gstudp-marshal.list deleted file mode 100644 index b53e79c15e..0000000000 --- a/gst/udp/gstudp-marshal.list +++ /dev/null @@ -1,2 +0,0 @@ -VOID:STRING,INT -BOXED:STRING,INT