mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
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.
This commit is contained in:
parent
a306518cee
commit
9f2077918c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue