<div dir="ltr"><div><div><div><div>Hi again,<br><br></div>I'm using some tee elements which have request pads, and I'm going to link these to the request pads of a matroskamux. What I'm wanting to do is request these pads by name (e.g. "src_%d"), but I see that the function "gst_element_get_request_pad()" is to be deprecated. That function was how the example in the GStreamer Application Development Manual does it.<br>
<br></div>The core reference manual says I should use "gst_element_request_pad()" instead. This is fine, but it needs a GstPadTemplate as an argument. It seems that the way to get one of these is with the function "gst_element_class_get_pad_template()". The problem is this function needs a GstElementClass, and I'm now stuck because I don't know how to get one of these.<br>
<br></div>I would have guessed that there's some way to cast my tee GstElement to a GstElementClass (or otherwise get its corresponding GstElementClass) but I don't know how this is done.<br><br></div>Can someone point me in the right direction?<br>
</div>