Re: error while linking the gstreamer pad elements in qt creator
Le mercredi 10 octobre 2018 à 06:09 -0500, laxman a écrit :
> This is laxman. i have been working on gstreamer since three months.
> i got
> the problem while linking gstreamer pad elements in qt creator.
> below two are my pad elements i have created.
> tee_pad1 = tee->getRequestPad("tee_src");
If you look at gst-inspect-1.0 tee output, you'll find that the
template for tee pads naming is "src_%u", which means it will be in the
format of "src_0", "src_1", etc. When requesting pads, you can simply
pass the template "src_%u" in order to let tee choose a name.