gst/gstbin.c: Disable duration query caching in bins until it gets fixed (see #324807).

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_query):
Disable duration query caching in bins until it gets
fixed (see #324807).
This commit is contained in:
Tim-Philipp Müller 2005-12-29 16:47:27 +00:00
parent 0042a697dc
commit f3b5a1952c
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbin.c: (gst_bin_query):
Disable duration query caching in bins until it gets
fixed (see #324807).
2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
* tools/gst-inspect.c: (print_element_properties_info):

View file

@ -2125,6 +2125,7 @@ gst_bin_query (GstElement * element, GstQuery * query)
switch (GST_QUERY_TYPE (query)) {
case GST_QUERY_DURATION:
{
#if 0
GList *cached;
GstFormat qformat;
@ -2155,7 +2156,7 @@ gst_bin_query (GstElement * element, GstQuery * query)
}
}
GST_OBJECT_UNLOCK (bin);
#endif
fold_func = (GstIteratorFoldFunction) bin_query_duration_fold;
fold_init = bin_query_duration_init;
fold_done = bin_query_duration_done;
@ -2204,7 +2205,7 @@ gst_bin_query (GstElement * element, GstQuery * query)
done:
gst_iterator_free (iter);
exit:
/* exit: */
GST_DEBUG_OBJECT (bin, "query %p result %d", query, res);
return res;