mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types
This commit is contained in:
parent
65e266fe6e
commit
5bdbde32da
9 changed files with 21 additions and 0 deletions
|
@ -157,6 +157,8 @@ gst_capsfilter_class_init (GstCapsFilterClass * klass)
|
|||
GST_DEBUG_FUNCPTR (gst_capsfilter_prepare_buf);
|
||||
trans_class->sink_event = GST_DEBUG_FUNCPTR (gst_capsfilter_sink_event);
|
||||
trans_class->stop = GST_DEBUG_FUNCPTR (gst_capsfilter_stop);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CAPS_FILTER_CAPS_CHANGE_MODE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -241,6 +241,8 @@ gst_fake_sink_class_init (GstFakeSinkClass * klass)
|
|||
gstbase_sink_class->preroll = GST_DEBUG_FUNCPTR (gst_fake_sink_preroll);
|
||||
gstbase_sink_class->render = GST_DEBUG_FUNCPTR (gst_fake_sink_render);
|
||||
gstbase_sink_class->query = GST_DEBUG_FUNCPTR (gst_fake_sink_query);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FAKE_SINK_STATE_ERROR);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -348,6 +348,10 @@ gst_fake_src_class_init (GstFakeSrcClass * klass)
|
|||
gstbase_src_class->event = GST_DEBUG_FUNCPTR (gst_fake_src_event_handler);
|
||||
gstbase_src_class->get_times = GST_DEBUG_FUNCPTR (gst_fake_src_get_times);
|
||||
gstbase_src_class->create = GST_DEBUG_FUNCPTR (gst_fake_src_create);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FAKE_SRC_DATA);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FAKE_SRC_SIZETYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FAKE_SRC_FILLTYPE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -287,6 +287,8 @@ gst_file_sink_class_init (GstFileSinkClass * klass)
|
|||
GST_LOG ("No large file support, sizeof (off_t) = %" G_GSIZE_FORMAT "!",
|
||||
sizeof (off_t));
|
||||
}
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FILE_SINK_BUFFER_MODE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -1304,6 +1304,9 @@ gst_input_selector_class_init (GstInputSelectorClass * klass)
|
|||
gstelement_class->request_new_pad = gst_input_selector_request_new_pad;
|
||||
gstelement_class->release_pad = gst_input_selector_release_pad;
|
||||
gstelement_class->change_state = gst_input_selector_change_state;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SELECTOR_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_INPUT_SELECTOR_SYNC_MODE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -840,6 +840,8 @@ gst_multi_queue_class_init (GstMultiQueueClass * klass)
|
|||
GST_DEBUG_FUNCPTR (gst_multi_queue_release_pad);
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_multi_queue_change_state);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MULTIQUEUE_PAD);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -147,6 +147,8 @@ gst_output_selector_class_init (GstOutputSelectorClass * klass)
|
|||
GST_DEBUG_FUNCPTR (gst_output_selector_release_pad);
|
||||
|
||||
gstelement_class->change_state = gst_output_selector_change_state;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -419,6 +419,8 @@ gst_queue_class_init (GstQueueClass * klass)
|
|||
GST_DEBUG_REGISTER_FUNCPTR (gst_queue_handle_src_query);
|
||||
GST_DEBUG_REGISTER_FUNCPTR (gst_queue_chain);
|
||||
GST_DEBUG_REGISTER_FUNCPTR (gst_queue_chain_list);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_QUEUE_LEAKY);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -297,6 +297,8 @@ gst_tee_class_init (GstTeeClass * klass)
|
|||
gstelement_class->request_new_pad =
|
||||
GST_DEBUG_FUNCPTR (gst_tee_request_new_pad);
|
||||
gstelement_class->release_pad = GST_DEBUG_FUNCPTR (gst_tee_release_pad);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEE_PULL_MODE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue