gst/gstbin.c: Disable duration query caching in bins until it gets fixed (see #324807).
authorTim-Philipp Müller <tim@centricular.net>
Thu, 29 Dec 2005 16:47:27 +0000 (16:47 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 29 Dec 2005 16:47:27 +0000 (16:47 +0000)
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_query):
Disable duration query caching in bins until it gets
fixed (see #324807).

ChangeLog
gst/gstbin.c

index 045c811..3c9b22f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 5d05b41..e9e079e 100644 (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;