[gstreamer-bugs] [Bug 131079] [PATCH] [api] loading a class leaves elementfactory blank

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 11 04:48:25 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=131079
 GStreamer | gstreamer (core) | Ver: HEAD CVS


Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim at fluendo.com
  Attachment #33349|0                           |1
        is obsolete|                            |
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.5




------- Comment #10 from Wim Taymans  2006-04-11 11:48 UTC -------
gst_plugin_feature_ensure_loaded is gone, gst_plugin_feature_load() replaces it
and does the same thing. 

When the plugin is loaded and gst_element_register() is called, the
klass->elementfactory is filled in correctly in CVS.

Added docs to state that the ->type field is 0 when the feature is not loaded.
Added check to test behaviour.

        * gst/gstelementfactory.c: (gst_element_register),
        (gst_element_factory_create), (gst_element_factory_make):
        Some cleanups.
        Fixed a FIXME.
        Updated docs (Fixes #131079)

        * gst/gstpluginfeature.c: (gst_plugin_feature_load):
        Small cleanups.

        * tests/check/gst/gstelement.c: (GST_START_TEST),
        (gst_element_suite):
        Added testcase for elementfactory class field.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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