After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743639 - Forward scheduling query to a peer pad on multiqueue and baseparse
Forward scheduling query to a peer pad on multiqueue and baseparse
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-01-28 12:00 UTC by HoonHee Lee
Modified: 2018-11-03 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Forward scheduling query to a peer pad on multiqueue and baseparse (2.08 KB, patch)
2015-01-28 12:00 UTC, HoonHee Lee
none Details | Review

Description HoonHee Lee 2015-01-28 12:00:26 UTC
Created attachment 295644 [details] [review]
Forward scheduling query to a peer pad on multiqueue and  baseparse

Decoder element demands to know about scheduling flags such as
bandwidthlimited is enabled or not.

In our product environment, our decoder element which uses H/W resources wants to know in playbin pipeline that it is streaming case or not.
Our approach is that to use a scheduling query likes uridecodebin for deploying typefind and Q2.
But, we encountered a problem that scheduling query is not forwarding to a source element such as souphttpsrc.
We reviewed the log and found out that baseparse and multiqueue are not forwarding it to a peerpad because of 'gst_pad_query_default' handler with GST_PAD_FALG_PROXY_SCHEDULING.

========================================
0:00:00.690352917  2581 0x7280a6f0 DEBUG               GST_PADS gstpad.c:3028:gst_pad_query_default:<multiqueue0:src_1> not forwarding 0x71e0df20 (scheduling) query
0:00:00.896709625  2581 0x71e0e000 DEBUG               GST_PADS gstpad.c:3028:gst_pad_query_default:<h264parse0:src> not forwarding 0x713080f0 (scheduling) query
========================================

Could you explain why it is not forwarding? it this a concept??
We hope that you would explain about it.

Thus, we implemented the scheduling query in multiqueue and baseparse.

Anyway, please check and review it.
Comment 1 Edward Hervey 2017-10-26 15:12:18 UTC
The answer is just to mark those source pads with GST_PAD_SET_PROXY_SCHEDULING, which would make sense for those elements.
Comment 2 Sebastian Dröge (slomo) 2017-10-26 16:21:52 UTC
No, because even if upstream of multiqueue/baseparse supports PULL mode, this still doesn't make those elements support PULL mode for upstream. You need to explicitly handle the queries.
Comment 3 GStreamer system administrator 2018-11-03 12:25:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/89.