diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-03-02 11:05:48 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-03-02 11:05:48 +0100 |
commit | cfe71423f00461e238ec6b121a539cdc73578dce (patch) | |
tree | 150bef34dd514a64d66ea7e81cecdfb3050f7e8f /plugins | |
parent | 441402f9d54414950eaca3ff782c74f221123675 (diff) |
gst: Remove gstmarshal.[ch] completely and use the generic marshaller
Fixes bug #671130.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elements/gstfakesink.c | 5 | ||||
-rw-r--r-- | plugins/elements/gstfakesrc.c | 3 | ||||
-rw-r--r-- | plugins/elements/gstidentity.c | 3 | ||||
-rw-r--r-- | plugins/elements/gsttypefindelement.c | 2 |
4 files changed, 5 insertions, 8 deletions
diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index a43f50e13..ed08b9742 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -38,7 +38,6 @@ #endif #include "gstfakesink.h" -#include <gst/gstmarshal.h> #include <string.h> static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", @@ -198,7 +197,7 @@ gst_fake_sink_class_init (GstFakeSinkClass * klass) gst_fake_sink_signals[SIGNAL_HANDOFF] = g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstFakeSinkClass, handoff), NULL, NULL, - gst_marshal_VOID__BOXED_OBJECT, G_TYPE_NONE, 2, + g_cclosure_marshal_generic, G_TYPE_NONE, 2, GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD); /** @@ -214,7 +213,7 @@ gst_fake_sink_class_init (GstFakeSinkClass * klass) gst_fake_sink_signals[SIGNAL_PREROLL_HANDOFF] = g_signal_new ("preroll-handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstFakeSinkClass, preroll_handoff), - NULL, NULL, gst_marshal_VOID__BOXED_OBJECT, G_TYPE_NONE, 2, + NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD); gst_element_class_set_details_simple (gstelement_class, diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index f3b154fe5..4b47f454a 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -52,7 +52,6 @@ #include <string.h> #include "gstfakesrc.h" -#include <gst/gstmarshal.h> static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -335,7 +334,7 @@ gst_fake_src_class_init (GstFakeSrcClass * klass) gst_fake_src_signals[SIGNAL_HANDOFF] = g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstFakeSrcClass, handoff), NULL, NULL, - gst_marshal_VOID__BOXED_OBJECT, G_TYPE_NONE, 2, + g_cclosure_marshal_generic, G_TYPE_NONE, 2, GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD); gst_element_class_set_details_simple (gstelement_class, diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 3bb50a6e4..f827f4f78 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -36,7 +36,6 @@ #include "../../gst/gst-i18n-lib.h" #include "gstidentity.h" -#include <gst/gstmarshal.h> static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -223,7 +222,7 @@ gst_identity_class_init (GstIdentityClass * klass) gst_identity_signals[SIGNAL_HANDOFF] = g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstIdentityClass, handoff), NULL, NULL, - g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, + g_cclosure_marshal_generic, G_TYPE_NONE, 1, GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE); gobject_class->finalize = gst_identity_finalize; diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index 2bc00130f..9a99d4c83 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -235,7 +235,7 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class) gst_type_find_element_signals[HAVE_TYPE] = g_signal_new ("have-type", G_TYPE_FROM_CLASS (typefind_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstTypeFindElementClass, have_type), NULL, NULL, - gst_marshal_VOID__UINT_BOXED, G_TYPE_NONE, 2, + g_cclosure_marshal_generic, G_TYPE_NONE, 2, G_TYPE_UINT, GST_TYPE_CAPS | G_SIGNAL_TYPE_STATIC_SCOPE); typefind_class->have_type = |