static GstFlowReturn gst_selector_pad_bufferalloc (GstPad * pad,
guint64 offset, guint size, GstCaps * caps, GstBuffer ** buf);
-GType
+static GType
gst_selector_pad_get_type (void)
{
static GType selector_pad_type = 0;
parent_class = g_type_class_peek_parent (klass);
+ /* FIXME: remove after confirming it is safe now */
+ g_type_class_ref (gst_selector_pad_get_type ());
+
gobject_class->dispose = gst_input_selector_dispose;
gobject_class->set_property = gst_input_selector_set_property;
GST_DEBUG_CATEGORY_INIT (gst_play_bin_debug, "playbin2", 0, "play bin");
g_type_class_ref (gst_input_selector_get_type ());
- g_type_class_ref (gst_selector_pad_get_type ());
return gst_element_register (plugin, "playbin2", GST_RANK_NONE,
GST_TYPE_PLAY_BIN);