element: Annotate set_clock() clock parameter with allow-none

This commit is contained in:
Sebastian Dröge 2017-12-20 18:11:48 +02:00
parent e16e55ed04
commit 1a5a5709ad

View file

@ -403,7 +403,7 @@ gst_element_set_clock_func (GstElement * element, GstClock * clock)
/**
* gst_element_set_clock:
* @element: a #GstElement to set the clock for.
* @clock: the #GstClock to set for the element.
* @clock: (transfer none) (allow-none): the #GstClock to set for the element.
*
* Sets the clock for the element. This function increases the
* refcount on the clock. Any previously set clock on the object