Commit 9f207791 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

queue: use default query function to optionally forward query

... rather than querying peer unconditionally with possibly undesirable
outcome in case of e.g. SCHEDULING query.
parent a306518c
......@@ -1224,7 +1224,7 @@ gst_queue_handle_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
GstQueue *queue = GST_QUEUE (parent);
gboolean res;
res = gst_pad_peer_query (queue->sinkpad, query);
res = gst_pad_query_default (pad, parent, query);
if (!res)
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment