/* Method: to_s * Returns: a String representing the factory. */ static VALUE rg_to_s (VALUE self) { GstIndexFactory *factory = RGST_INDEX_FACTORY (self); return rb_str_new_with_format ("Index: %s (%s)", GST_PLUGIN_FEATURE_NAME (factory), factory->longdesc); }
static VALUE rb_gst_elementfactory_to_s (VALUE self) { GstElementFactory *factory = RGST_ELEMENT_FACTORY (self); return rb_str_new_with_format ("Element: %s (%s)", GST_PLUGIN_FEATURE_NAME(factory), factory->details.longname); }