[Gstreamer-bugs] [Bug 131079] New - loading a class leaves elementfactory blank
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Sat Jan 10 03:21:02 PST 2004
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=131079
Changed by rbultje at ronald.bitfreak.net.
--- shadow/131079 Sat Jan 10 06:21:01 2004
+++ shadow/131079.tmp.17073 Sat Jan 10 06:21:01 2004
@@ -0,0 +1,30 @@
+Bug#: 131079
+Product: GStreamer
+Version: HEAD CVS
+OS: Linux
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org
+ReportedBy: rbultje at ronald.bitfreak.net
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL:
+Summary: loading a class leaves elementfactory blank
+
+GstElementClass *klass;
+ GstElementFactory *factory;
+
+ factory = gst_element_factory_find (...);
+ if (!gst_plugin_feature_ensure_loaded (GST_PLUGIN_FEATURE (factory))) {
+ g_warning ("Failed to load plugin feature \"%s\"",
+ elements[i]);
+ continue;
+ }
+ klass = g_type_class_ref (factory->type);
+
+This code will lead to an elementclass that has klass->elementfactory not
+filled in.
More information about the Gstreamer-bugs
mailing list