pad creation and linking for any element

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

pad creation and linking for any element

arnabsamanta
 Hi,
        can any body tel me what exactly the macro GST_PAD_LINKFUNC does ? i
searched in the
http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/Gs
tPad.html but i could not find it.

        is it required to use this macro and link the pads when ever a new elemant
is to be created ?





The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
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: pad creation and linking for any element

Wim Taymans
On Mon, 2008-09-15 at 14:14 +0530, arnabsamanta wrote:
> Hi,
> can any body tel me what exactly the macro GST_PAD_LINKFUNC does ? i
> searched in the
> http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/Gs
> tPad.html but i could not find it.

It is a macro to access the the linkfunc member in the GstPad object.
It's not documented because you would not normally want to use it with
the macro.

>
> is it required to use this macro and link the pads when ever a new elemant
> is to be created ?

No, this macro is only to be used by the core. If you want to link pads
use a function like gst_pad_link() or gst_element_link().

Wim

>
>
>
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> 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