gst_rtp_bin_request_new_pad gone?

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

gst_rtp_bin_request_new_pad gone?

Ugly Face
As a new bee, I followed the doc to build my demo app with gstreamer.

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?

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?

thanks.

Reply | Threaded
Open this post in threaded view
|

Re: gst_rtp_bin_request_new_pad gone?

Tim Müller
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel