gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix vmethod prototypes.
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix vmethod prototypes. * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_block, gst_stream_selector_switch): Add empty vmethod definitions. Patch 3/12.
This commit is contained in:
parent
ad6223b448
commit
c9c47b8dce
@ -1,5 +1,12 @@
|
|||||||
2007-12-17 Andy Wingo <wingo@pobox.com>
|
2007-12-17 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix
|
||||||
|
vmethod prototypes.
|
||||||
|
|
||||||
|
* gst/switch/gstswitch.c (gst_stream_selector_class_init)
|
||||||
|
(gst_stream_selector_block, gst_stream_selector_switch): Add empty
|
||||||
|
vmethod definitions. Patch 3/12.
|
||||||
|
|
||||||
* gst/switch/gstswitch.h (struct _GstStreamSelectorClass):
|
* gst/switch/gstswitch.h (struct _GstStreamSelectorClass):
|
||||||
* gst/switch/gstswitch.c (gst_stream_selector_class_init): Add
|
* gst/switch/gstswitch.c (gst_stream_selector_class_init): Add
|
||||||
`block' and `switch' signals.
|
`block' and `switch' signals.
|
||||||
|
@ -381,6 +381,10 @@ static void gst_stream_selector_release_pad (GstElement * element,
|
|||||||
GstPad * pad);
|
GstPad * pad);
|
||||||
static GList *gst_stream_selector_get_linked_pads (GstPad * pad);
|
static GList *gst_stream_selector_get_linked_pads (GstPad * pad);
|
||||||
static GstCaps *gst_stream_selector_getcaps (GstPad * pad);
|
static GstCaps *gst_stream_selector_getcaps (GstPad * pad);
|
||||||
|
static void gst_stream_selector_block (GstStreamSelector * self);
|
||||||
|
static void gst_stream_selector_switch (GstStreamSelector * self,
|
||||||
|
const gchar * pad_name, GstClockTime stop_time, GstClockTime start_time);
|
||||||
|
|
||||||
static GstElementClass *parent_class = NULL;
|
static GstElementClass *parent_class = NULL;
|
||||||
|
|
||||||
GType
|
GType
|
||||||
@ -467,6 +471,9 @@ gst_stream_selector_class_init (GstStreamSelectorClass * klass)
|
|||||||
G_STRUCT_OFFSET (GstStreamSelectorClass, switch_),
|
G_STRUCT_OFFSET (GstStreamSelectorClass, switch_),
|
||||||
NULL, NULL, gst_switch_marshal_VOID__STRING_UINT64_UINT64,
|
NULL, NULL, gst_switch_marshal_VOID__STRING_UINT64_UINT64,
|
||||||
G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_UINT64, G_TYPE_UINT64);
|
G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_UINT64, G_TYPE_UINT64);
|
||||||
|
|
||||||
|
klass->block = GST_DEBUG_FUNCPTR (gst_stream_selector_block);
|
||||||
|
klass->switch_ = GST_DEBUG_FUNCPTR (gst_stream_selector_switch);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -714,6 +721,19 @@ gst_stream_selector_release_pad (GstElement * element, GstPad * pad)
|
|||||||
gst_element_remove_pad (GST_ELEMENT (sel), pad);
|
gst_element_remove_pad (GST_ELEMENT (sel), pad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
gst_stream_selector_block (GstStreamSelector * self)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
gst_stream_selector_switch (GstStreamSelector * self, const gchar * pad_name,
|
||||||
|
GstClockTime stop_time, GstClockTime start_time)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
@ -53,9 +53,9 @@ struct _GstStreamSelector {
|
|||||||
struct _GstStreamSelectorClass {
|
struct _GstStreamSelectorClass {
|
||||||
GstElementClass parent_class;
|
GstElementClass parent_class;
|
||||||
|
|
||||||
void (*block) (void);
|
void (*block) (GstStreamSelector *self);
|
||||||
void (*switch_) (const gchar *pad_name, GstClockTime stop_time,
|
void (*switch_) (GstStreamSelector *self, const gchar *pad_name,
|
||||||
GstClockTime start_time);
|
GstClockTime stop_time, GstClockTime start_time);
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_stream_selector_get_type (void);
|
GType gst_stream_selector_get_type (void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user