mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the pad type is stated as GST_TYPE_PAD inst...
Original commit message from CVS: Patch by: Evan Nemerson <evan at coeus dash group dot com> * gst/gstelement.c: (gst_element_class_init): Fix pad-added and pad-removed signal signatures so that the pad type is stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
This commit is contained in:
parent
d14c4c4a67
commit
e447f17955
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2007-03-19 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
Patch by: Evan Nemerson <evan at coeus dash group dot com>
|
||||
|
||||
* gst/gstelement.c: (gst_element_class_init):
|
||||
Fix pad-added and pad-removed signal signatures so that the pad type is
|
||||
stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
|
||||
|
||||
2007-03-19 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt:
|
||||
|
|
|
@ -187,7 +187,7 @@ gst_element_class_init (GstElementClass * klass)
|
|||
gst_element_signals[PAD_ADDED] =
|
||||
g_signal_new ("pad-added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstElementClass, pad_added), NULL, NULL,
|
||||
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT);
|
||||
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_PAD);
|
||||
/**
|
||||
* GstElement::pad-removed:
|
||||
* @gstelement: the object which received the signal
|
||||
|
@ -198,7 +198,7 @@ gst_element_class_init (GstElementClass * klass)
|
|||
gst_element_signals[PAD_REMOVED] =
|
||||
g_signal_new ("pad-removed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstElementClass, pad_removed), NULL, NULL,
|
||||
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT);
|
||||
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_PAD);
|
||||
/**
|
||||
* GstElement::no-more-pads:
|
||||
* @gstelement: the object which received the signal
|
||||
|
|
Loading…
Reference in a new issue