gst_element_get_factory: update documentation
authorStephane Cerveau <scerveau@fluendo.com>
Thu, 14 Mar 2019 10:59:43 +0000 (11:59 +0100)
committerStephane Cerveau <scerveau@fluendo.com>
Thu, 14 Mar 2019 12:12:52 +0000 (13:12 +0100)
Inform about a potential NULL result.

gst/gstelement.c

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