|
From: ensonic <en...@ho...> - 2006-11-06 14:51:43
|
hi, On 12:28:56 pm 06/11/2006 Benoit Fouet <ben...@pu...> wrote: > Kapil Agrawal wrote: > > hi , > > > > when i installed a new plugin , and used that in my .c file for an > > application, while calling gst_element_factory_make() for that > > plugin its give me an error "no such element factory "plugin" ". > > But when i use the same plugin at command line , ie gst-launch > > ..| plugin | .....|...... it works properly. also when i did a > > gst-inspect plugin, its properties are show. even the > > ~/.gstreamer/registry.*.xml has the plugin entry. I am unable to > > find the reason, can someone give me some pointers what ned to be > > done? > > tahnks > > > > -kapil > do you also load the library where the plugin is before trying to call > gst_element_factory_make() ? > (by using gst_plugin_load_file) > > hope that helps > > -- Ben > You don't need to load plugns. Best post the source-snippet in question. Just a shot in the dark - have you called gst_init() ? Stefan |