gstpoll: Corrected a documentation typo.

This commit is contained in:
Peter Kjellerstedt 2009-03-26 19:33:41 +01:00
parent 41f1a1881e
commit 7be99f052b

View file

@ -1057,12 +1057,13 @@ gst_poll_check_ctrl_commands (GstPoll * set, gint res, gboolean * restarting)
* Wait for activity on the file descriptors in @set. This function waits up to * Wait for activity on the file descriptors in @set. This function waits up to
* the specified @timeout. A timeout of #GST_CLOCK_TIME_NONE waits forever. * the specified @timeout. A timeout of #GST_CLOCK_TIME_NONE waits forever.
* *
* For GstPoll objects created with gst_poll_new(), this function can only be * For #GstPoll objects created with gst_poll_new(), this function can only be
* called from a single thread at a time threads. If called from multiple * called from a single thread at a time. If called from multiple threads,
* threads, -1 will be returned with errno set to EPERM. * -1 will be returned with errno set to EPERM.
* *
* This is not true for timer GstPoll objects created with gst_poll_new_timer(), * This is not true for timer #GstPoll objects created with
* where it is allowed to have multiple threads waiting simultaneously. * gst_poll_new_timer(), where it is allowed to have multiple threads waiting
* simultaneously.
* *
* Returns: The number of #GstPollFD in @set that have activity or 0 when no * Returns: The number of #GstPollFD in @set that have activity or 0 when no
* activity was detected after @timeout. If an error occurs, -1 is returned * activity was detected after @timeout. If an error occurs, -1 is returned