How to set a volume property in audiomixer's sink pads?

Sebastian Dröge sebastian at centricular.com
Fri Jun 3 05:29:59 UTC 2016


On Do, 2016-06-02 at 21:45 -0600, Michael Gruner wrote:
> Hi Natanael
> 
> The problem you are having now is because you are
> using get_element_get_static_pad to ask for the audiomixer pad. This
> function is for static pads only. The videomixer pads are request
> pads, hence this function will return NULL giving you the error on
> the next functions. 

Small correction. The name is misleading and it's more a
gst_element_get_existing_pad(). If a request pad with that name, or a
sometimes pad, exists on the element then it will return that too.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160603/7934966a/attachment.sig>


More information about the gstreamer-devel mailing list