[Bug 750079] registry: add factory for automatic dynamic caps enum/flags types loading

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 14 04:52:33 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=750079

--- Comment #8 from Jan Schmidt <thaytan at noraisin.net> ---
(In reply to Olivier CrĂȘte from comment #7)
> This feels a bit overkill to potentially load a bunch of plugins to just
> register some enum/flag types. Could we instead put the types into the
> registry itself and have the registry loader do the registration? Do we have
> any other kind of GType that we may want to register ?

The idea was to have at most 1 extra plugin per module that needs extra types.
Really though, I think it's likely that it'd just be this gst-plugins-base one,
and Tim's suggestion to register the types from one of the existing plugins
that's likely to be loaded anyway also works for me - videoconvert, for
example.

How would you update them if they change? Registry features need to belong to a
plugin. It's a lot more work for almost no gain.

> If you want to keep this API, can you rename it, dynamic type makes me think
> of g_type_register_dynamic() which is somethign different.

Feel free to suggest a different name.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list