[gst-devel] no such element factory
ensonic
ensonic at hora-obscura.de
Mon Nov 6 15:51:28 CET 2006
hi,
On 12:28:56 pm 06/11/2006 Benoit Fouet <benoit.fouet at purplelabs.com> 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
More information about the gstreamer-devel
mailing list