Hi, That definitely sounds discouraging. Now, 'm still kind of intrigued to write those plugins in C++, though I guess I'll need to postpone that until I have more knowledge about gstreamer in general. I'll stick with C for now. Maybe in a few weeks I'll pick this up again :)
Thanks a lot, -Dirk On 31 July 2012 05:53, José Alburquerque <[email protected]> wrote: > > On Mon, 2012-07-30 at 11:13 +0200, Dirk Van Haerenborgh wrote: > > Presently, the only plug-ins that have a (probably non-existent) > possibility of being developed using gstreamermm are ones that are > private to applications. If that's possible, These plug-ins would be > registered using the Gst::Plugin::register_static()[1] method and not > the process that you've described above. > > [1] > http://developer.gnome.org/gstreamermm/unstable/classGst_1_1Plugin.html#ac0728bb285ae1bed9298c0f9ea522ad9 > > In theory, one would extend one of the gstreamermm base classes[2] and > call the Gst::ElementFactory::register_element()[3] method in the > Gst::Plugin::SlotInit slot (callback) so that an element factory that > generates these elements can be created. That factory can then be added > to the registry using Gst::Registry::add_feature()[4] in the same > Gst::Plugin::SlotInit slot. > > [2] http://developer.gnome.org/gstreamermm/unstable/group__GstBaseClasses.html > > [3] The Gst::ElementFactory::register_element() method is a method that > is not implemented yet but would wrap the gst_element_register() > function. That would be part of an upcoming release. > > [4] > http://developer.gnome.org/gstreamermm/unstable/classGst_1_1Registry.html#ae1f9a1ddd60ef5a7e1f8cddf14ec404f > > I've not tested this and don't really know exactly how it would work (or > if it actually would) but it's how I'd try if I had to. However, I > think it's easier to write the plug-in in C presently, but that's just a > matter of making things easier. > > > > > PS: If I end up with something working, I will most definitely release > > it to the public domain. > > _______________________________________________ > > gtkmm-list mailing list > > [email protected] > > https://mail.gnome.org/mailman/listinfo/gtkmm-list > > -- > José > > > > _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
