Original commit message from CVS:
Added code to force the gsttypes plugin to load before gstelements, by
simply having gstelements.c request the plugin. Solves some dependency
problems. This is the correct method of doing this for now, though I had
a thought:
Have a static list of hard dependencies that the plugin system is responsible
for satisfying before even trying to load the plugin. Makes plugin design
easier.
GstElementFactory *factory;
int i = 0;
+ /* we depend on having the usual types loaded first */
+ gst_plugin_load("gsttypes");
+
plugin = gst_plugin_new("gstelements");
g_return_val_if_fail(plugin != NULL,NULL);
GstElementFactory *factory;
int i = 0;
+ /* we depend on having the usual types loaded first */
+ gst_plugin_load("gsttypes");
+
plugin = gst_plugin_new("gstelements");
g_return_val_if_fail(plugin != NULL,NULL);