Skip to content

Commit

Permalink
rtp/hdrext: correct gst_rtp_get_header_extension_list() docs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ystreet committed May 4, 2021
1 parent da9a3da commit a77c316
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions gst-libs/gst/rtp/gstrtphdrext.c
Expand Up @@ -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
*/
Expand Down

0 comments on commit a77c316

Please sign in to comment.