mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
pushsrc: Fix infinite recursion in pushsrc query handler
This commit is contained in:
parent
007b16b024
commit
5076688c1f
1 changed files with 1 additions and 7 deletions
|
@ -92,9 +92,6 @@ static gboolean
|
||||||
gst_push_src_query (GstBaseSrc * src, GstQuery * query)
|
gst_push_src_query (GstBaseSrc * src, GstQuery * query)
|
||||||
{
|
{
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
GstBaseSrcClass *bclass;
|
|
||||||
|
|
||||||
bclass = GST_BASE_SRC_GET_CLASS (src);
|
|
||||||
|
|
||||||
switch (GST_QUERY_TYPE (query)) {
|
switch (GST_QUERY_TYPE (query)) {
|
||||||
case GST_QUERY_SCHEDULING:
|
case GST_QUERY_SCHEDULING:
|
||||||
|
@ -106,10 +103,7 @@ gst_push_src_query (GstBaseSrc * src, GstQuery * query)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
if (bclass->query)
|
ret = GST_BASE_SRC_CLASS (parent_class)->query (src, query);
|
||||||
ret = bclass->query (src, query);
|
|
||||||
else
|
|
||||||
ret = FALSE;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue