GNOME Bugzilla – Bug 705976
per-pipeline element factory modifier ranks
Last modified: 2018-11-03 12:18:37 UTC
Imagine a library that internally uses GStreamer's playbin to provide certain functionality, like libwebkitgtk perhaps. Imagine that library needs to make playbin pick a custom http source. It will have to register a custom source that has a higher rank than e.g. souphttpsrc. Now imagine the application also wants to do something with playbin. Now the application playbin will inadvertently also use the webkit http source, which may or may not work. One could solve this by either providing modifier ranks on a per-pipeline basis, or adding API to playbin/uridecodebin etc. that lets users override the source selection.
Couldn't the app call gst_plugin_feature_set_rank() to bump the rank for selected features?
> Couldn't the app call gst_plugin_feature_set_rank() to bump the rank for > selected features? It could, but that would change the rank globally not per pipeline, which does not help with the problem described.
-- 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/41.