element: Document when a clock is available from gst_element_get_clock()

https://bugzilla.gnome.org/show_bug.cgi?id=744442
This commit is contained in:
Olivier Crête 2015-02-12 19:39:44 -05:00
parent 59d9992ed0
commit 518babf6cb

View file

@ -417,6 +417,9 @@ gst_element_set_clock (GstElement * element, GstClock * clock)
* Gets the currently configured clock of the element. This is the clock as was
* last set with gst_element_set_clock().
*
* Elements in a pipeline will only have their clock set when the
* pipeline is in the PLAYING state.
*
* Returns: (transfer full): the #GstClock of the element. unref after usage.
*
* MT safe.