mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
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.
This commit is contained in:
parent
f3c07d5d20
commit
285f89d900
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
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):
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue