How to generate "pad-added" manually

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

How to generate "pad-added" manually

Bibin Joseph
Hi All,
    As you know, the "pad-added" signal is automatically emitted in
situations like demuxer elements are used. How can we manually generate
a "pad-added" signal as we like? For example, if I want to add an
arbitrary number of source pads to a video mixer, how can it be made
possible?

Thanks and Regards,
Bibin

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to generate "pad-added" manually

Tim-Philipp Müller-2
On Tue, 2009-06-30 at 13:58 +0530, Bibin joseph wrote:

>     As you know, the "pad-added" signal is automatically emitted in
> situations like demuxer elements are used. How can we manually generate
> a "pad-added" signal as we like? For example, if I want to add an
> arbitrary number of source pads to a video mixer, how can it be made
> possible?

videomixer's sink pads are request pads. Just request a new sink pad..

Cheers
 -Tim


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel