rtp/hdrext: correct gst_rtp_get_header_extension_list() docs

The return value is a list of GstElementFactory's that when
gst_element_factory_create()ed will create a GstRTPHeaderExtension.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/897

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1136>
This commit is contained in:
Matthew Waters 2021-05-04 15:38:18 +10:00
parent da9a3da8aa
commit a77c316590

View file

@ -654,10 +654,12 @@ gst_rtp_ext_list_filter (GstPluginFeature * feature, gpointer user_data)
/**
* gst_rtp_get_header_extension_list:
*
* Retrieve all the currently registered RTP header extensions
* Retrieve all the factories of the currently registered RTP header
* extensions. Call gst_element_factory_create() with each factory to create
* the associated #GstRTPHeaderExtension.
*
* Returns: (transfer full) (element-type GstRTPHeaderExtension): a #GList of
* #GstRTPHeaderExtension. Use gst_plugin_feature_list_free() after use
* Returns: (transfer full) (element-type GstElementFactory): a #GList of
* #GstElementFactory's. Use gst_plugin_feature_list_free() after use
*
* Since: 1.20
*/