[gst-devel] dynamic overlaying of images on video

gael neuez gneuez at hotmail.com
Tue Sep 4 16:10:25 CEST 2007

>Without seeing your code, it's hard to say how you should access them,
>but the most straight-forward way would be to create a new sink pad with
>gst_element_get_request_pad(videomixer, ...) and then store the
>newly-created sink pad somewhere for further use.  Glancing at the
>videomixer code, it seems like it only uses a random pad number if you
>use "sink_%d" as template in _get_request_pad() and will use the number
>you provide if you do provide one.
>You can go through the list of existing pads of an element with
>gst_element_iterate_*_pads() etc, don't access the lists in the
>GstElement structure directly.

Thanks again for the reply. In fact, what I've done since last post is 
something similar. I've changed a bit the videomixer code to use successive 
numbers for sinkpad's naming (instead of random). And I do use the iterator 
to access the pads and change the x/y positions of these.

Windows Live Messenger sur i-mode™ : dialoguez avec vos amis depuis votre 
mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/

More information about the gstreamer-devel mailing list