From 57667ddd07dcbd14e9bd685c46d6a718b31c5df5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 Dec 2006 10:02:19 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/gstbin.c | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4bd31ac7c7..a774d9093e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-07 Wim Taymans + + * gst/gstbin.c: (gst_bin_query): + Add some more docs about the POSITION query. + 2006-12-07 Jan Schmidt * configure.ac: diff --git a/gst/gstbin.c b/gst/gstbin.c index 4cf938a929..7e455672c9 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -133,6 +133,13 @@ * * * + * GST_QUERY_POSITION + * 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. + * + * + * * OTHERS * 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;