Skip to content

gstregistry: Directly get list of plugin features

Edward Hervey requested to merge bilboed/gstreamer:registrywrite into master

Previously this was:

  • iterating and referencing all plugin features in a GList
  • then filtering out the ones we want
  • Was doing that filtering by name (i.e. strcmp) instead of direct pointer comparision

Instead, just create a private direct function to get the list of plugin features

Uses 4 times less instructions ...

Merge request reports