Rémi Bernon (@rbernon) commented about dlls/winegstreamer/unixlib.c:
return element;
}
+GstElement *create_element_by_factory(GstElementFactory *factory) +{
- gchar *plugin_name = gst_plugin_feature_get_name(GST_PLUGIN_FEATURE(factory));
- GstElement *element;
- if ((element = gst_element_factory_create(factory, NULL)))
- {
gchar *element_name = gst_element_get_name(element);
GST_INFO("Created element %s %p by factory %s.", element_name, element, plugin_name);
Same here, I suspect `GST_PTR_FORMAT` would do a great job both for the factory and the element.