summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-09-17 19:31:27 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-09-17 19:31:27 +0000
commit285f89d9001637b2153439aa168e9fdeacd9a199 (patch)
treefef77e3f8929ac5916a3eb85940ba523424921e4 /libs
parentf3c07d5d20284d62b9fd93fad4ffe7b322059fb5 (diff)
libs/gst/base/gstbasesrc.c: JITTER, RATE, and LATENCY query should be handled by the default case and not by the CONV...
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.
Diffstat (limited to 'libs')
-rw-r--r--libs/gst/base/gstbasesrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c
index 9be787006..97927a42d 100644
--- a/libs/gst/base/gstbasesrc.c
+++ b/libs/gst/base/gstbasesrc.c
@@ -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;