[gst-devel] It is fail to request pad in rtpbin

Zheng, Shude shude at margi.com
Fri Jul 25 00:41:36 CEST 2008


It is working to use command line, gst-launch, for rtp server and
client. I want to convert the command line to application. I must get
the send_rtp_sink_%d pad of rtpbin for linking to rtppcmapay. I use

Newpad = gst_element_get_request_pad(rtpbin, "send_rtp_sink_%d"). 

It returns null. If I change the pad name to send_rtp_sink_0. It will
give an error "comparing send_rtp_sink_0 to src%d.

Any help will be greatly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080724/a60e05c6/attachment.htm>


More information about the gstreamer-devel mailing list