Regarding template source code generated

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Regarding template source code generated

Jyoti-2
Hi All,

I am writing a simple plugin called "NewPlugin" in GStreamer using gst-template. I am generating *.c and *.h files using the gst-template.
I give command "/tools/make_element". But my *.c file writes the Plugin name string wrongly. For example the actual .h file name to be included is "gstnewplugin.h" but it prepends extra string "new" and hence error executing make command.

I would like to know is it a bug or are there any More specific rules for Plugin Names.
One rule I learnt is the plugin name while generating it should start with a Capital letter I have done that. Inspite of that I have the above problem.

I have ried many more Strings like MyNewPlugin, MyPlugin, etc. to generate template files for plugin.

Thanks,
Jyoti

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Regarding template source code generated

Stefan Sauer
hi,

do me a favour and do not call it NewPlugin, call it NewAbc or whatever.
The string "plugin" is replaced with you plugin name. You probably don't
want to call it "NewPlugin" anyway.

Stefan


Jyoti D schrieb:

> Hi All,
>
> I am writing a simple plugin called "NewPlugin" in GStreamer using
> gst-template. I am generating *.c and *.h files using the gst-template.
> I give command "/tools/make_element". But my *.c file writes the
> Plugin name string wrongly. For example the actual .h file name to be
> included is "gstnewplugin.h" but it prepends extra string "new" and
> hence error executing make command.
>
> I would like to know is it a bug or are there any More specific rules
> for Plugin Names.
> One rule I learnt is the plugin name while generating it should start
> with a Capital letter I have done that. Inspite of that I have the
> above problem.
>
> I have ried many more Strings like MyNewPlugin, MyPlugin, etc. to
> generate template files for plugin.
>
> Thanks,
> Jyoti
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Regarding template source code generated

Jyoti-2
Thanks for the info Stefan.

Jyoti

On Mon, Nov 24, 2008 at 8:31 PM, Stefan Kost <[hidden email]> wrote:
hi,

do me a favour and do not call it NewPlugin, call it NewAbc or whatever.
The string "plugin" is replaced with you plugin name. You probably don't
want to call it "NewPlugin" anyway.

Stefan


Jyoti D schrieb:
> Hi All,
>
> I am writing a simple plugin called "NewPlugin" in GStreamer using
> gst-template. I am generating *.c and *.h files using the gst-template.
> I give command "/tools/make_element". But my *.c file writes the
> Plugin name string wrongly. For example the actual .h file name to be
> included is "gstnewplugin.h" but it prepends extra string "new" and
> hence error executing make command.
>
> I would like to know is it a bug or are there any More specific rules
> for Plugin Names.
> One rule I learnt is the plugin name while generating it should start
> with a Capital letter I have done that. Inspite of that I have the
> above problem.
>
> I have ried many more Strings like MyNewPlugin, MyPlugin, etc. to
> generate template files for plugin.
>
> Thanks,
> Jyoti
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel