gst/gstbin.c: Add some more docs about the POSITION query.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_query):
Add some more docs about the POSITION query.
This commit is contained in:
Wim Taymans 2006-12-07 10:02:19 +00:00
parent 9345a5636a
commit 57667ddd07
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-12-07 Wim Taymans <wim@fluendo.com>
* gst/gstbin.c: (gst_bin_query):
Add some more docs about the POSITION query.
2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:

View file

@ -133,6 +133,13 @@
* </para></listitem>
* </varlistentry>
* <varlistentry>
* <term>GST_QUERY_POSITION</term>
* <listitem><para>The query is sent to all sink elements in the bin and the
* MAXIMUM of all values is returned. If no sinks are available in the bin,
* the query fails.
* </para></listitem>
* </varlistentry>
* <varlistentry>
* <term>OTHERS</term>
* <listitem><para>the query is forwarded to all sink elements, the result
* of the first sink that answers the query successfully is returned. If no
@ -2523,7 +2530,9 @@ gst_bin_query (GstElement * element, GstQuery * query)
done:
gst_iterator_free (iter);
/* exit: */
#ifdef DURATION_CACHING
exit:
#endif
GST_DEBUG_OBJECT (bin, "query %p result %d", query, res);
return res;