GNOME Bugzilla – Bug 308256
GstBuffer has wrong type
Last modified: 2005-08-29 15:25:11 UTC
Version details: Debian package 0.8.10-1 Distribution/Version: Debian unstable I have in my element the following: g_object_class_install_property (gobject_class, ARG_BUFFER, g_param_spec_object ("buffer", "Buffer", "Buffer to sink data to", GST_TYPE_BUFFER, G_PARAM_READWRITE)); Registering this element give the following errors: (process:25855): GLib-GObject-CRITICAL **: g_param_spec_object: assertion `g_type_is_a (object_type, G_TYPE_OBJECT)' failed (process:25855): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed Added plugin buffersink with 1 feature. Replacing the type with, for example, GST_TYPE_ELEMENT makes this error go away (but then it'll run into errors at run time since it is not what I want.)
I put the plugins I managed to get this error with to http://users.utu.fi/kaolpa/gst/
GstBuffer isn't a GObject, what were you expecting? You're probably looking for g_param_spec_boxed().