gst_rtp_bin_request_new_pad gone?

Tim Müller tim at centricular.com
Sat Aug 6 09:52:45 UTC 2016


On Thu, 2016-08-04 at 02:09 -0700, Ugly Face wrote:

Hi,

> In my app rtpbin is needed. So I run "get-inspect-1.0 rtpbin" to get
> guidance  about it. The guidance tells me that I will need to call
> "get_rtp_bin_request_new_pad" to get "request pad". However I get an
> "undefined reference get_rtp_bin_request_new_pad" error when I try to
> compile my code.
> 
> Google does not help as it usually is.
> 
> I have two question:
> 
> 1. Is this interface gone forever or I need to include some other
> header files to deal with this error? If it is gone, Should I use
> "get_element_get_request_pad" instead?

This function was never exposed publically. Yes, use
gst_element_get_request_pad() or gst_element_request_pad() instead.


> 2. In a demo write by others, I find out that some pads are unrefined
> after "get_pad_link" while others are left untouched. I guess that
> pad got from "get_element_get_static_pad" should be unrefined. Is it
> true?

I'm not sure I understand the question. What do you mean by
'unrefined'?

Cheers
-Tim

-- 

Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list