libs/gst/base/gstbasesrc.c: JITTER, RATE, and LATENCY query should be handled by...
authorTim-Philipp Müller <tim@centricular.net>
Sun, 17 Sep 2006 19:31:27 +0000 (19:31 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 17 Sep 2006 19:31:27 +0000 (19:31 +0000)
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
JITTER, RATE, and LATENCY query should be handled by the
default case and not by the CONVERT query code.

ChangeLog
libs/gst/base/gstbasesrc.c

index 324da83..99048c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
+         JITTER, RATE, and LATENCY query should be handled by the
+         default case and not by the CONVERT query code.
+
+2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
+
        * gst/gstformat.c: (gst_format_register):
          Fix locking order (must take lock before using n_values).
 
index 9be7870..97927a4 100644 (file)
@@ -642,9 +642,6 @@ gst_base_src_default_query (GstBaseSrc * src, GstQuery * query)
       res = TRUE;
       break;
     }
-    case GST_QUERY_LATENCY:
-    case GST_QUERY_JITTER:
-    case GST_QUERY_RATE:
     case GST_QUERY_CONVERT:
     {
       GstFormat src_fmt, dest_fmt;
@@ -662,6 +659,9 @@ gst_base_src_default_query (GstBaseSrc * src, GstQuery * query)
       gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val);
       break;
     }
+    case GST_QUERY_LATENCY:
+    case GST_QUERY_JITTER:
+    case GST_QUERY_RATE:
     default:
       res = FALSE;
       break;