From f3b5a1952cc7cf3fa9f0a33fb4a675e2ff684bc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 29 Dec 2005 16:47:27 +0000 Subject: [PATCH] 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). --- ChangeLog | 6 ++++++ gst/gstbin.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 045c811..3c9b22f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-29 Tim-Philipp Müller + + * 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 * tools/gst-inspect.c: (print_element_properties_info): diff --git a/gst/gstbin.c b/gst/gstbin.c index 5d05b41..e9e079e 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -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; -- 2.7.4