gst/elements/gstidentity.c: Workaround until signals support GstMiniObject.

Original commit message from CVS:
* gst/elements/gstidentity.c: (gst_identity_class_init):
Workaround until signals support GstMiniObject.
This commit is contained in:
Ronald S. Bultje 2005-05-18 13:23:24 +00:00
parent ea9c819e6e
commit ca6017610d
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/elements/gstidentity.c: (gst_identity_class_init):
Workaround until signals support GstMiniObject.
2005-05-18 Jan Schmidt <thaytan@mad.scientist.com> 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstbuffer.c: * gst/gstbuffer.c:

View file

@ -182,7 +182,7 @@ gst_identity_class_init (GstIdentityClass * klass)
gst_identity_signals[SIGNAL_HANDOFF] = gst_identity_signals[SIGNAL_HANDOFF] =
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstIdentityClass, handoff), NULL, NULL, G_STRUCT_OFFSET (GstIdentityClass, handoff), NULL, NULL,
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT); gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_POINTER);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_identity_finalize); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_identity_finalize);

View file

@ -182,7 +182,7 @@ gst_identity_class_init (GstIdentityClass * klass)
gst_identity_signals[SIGNAL_HANDOFF] = gst_identity_signals[SIGNAL_HANDOFF] =
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstIdentityClass, handoff), NULL, NULL, G_STRUCT_OFFSET (GstIdentityClass, handoff), NULL, NULL,
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT); gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_POINTER);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_identity_finalize); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_identity_finalize);