gst_element_get_factory: update documentation

Inform about a potential NULL result.
This commit is contained in:
Stephane Cerveau 2019-03-14 11:59:43 +01:00
parent b5af526c9c
commit a01c4965de

View file

@ -3226,8 +3226,8 @@ was_ok:
* *
* Retrieves the factory that was used to create this element. * Retrieves the factory that was used to create this element.
* *
* Returns: (transfer none): the #GstElementFactory used for creating this * Returns: (transfer none) (nullable): the #GstElementFactory used for creating this
* element. no refcounting is needed. * element or %NULL if element has not been registered (static element). no refcounting is needed.
*/ */
GstElementFactory * GstElementFactory *
gst_element_get_factory (GstElement * element) gst_element_get_factory (GstElement * element)