How to set decodebin caps from source code

deeps8us deeps8us at
Wed Jun 10 12:02:35 UTC 2020

For a pipeline, I need to set caps explicitly to decodebin.
eg: gst-launch filesrc ! decodebin caps=audio/x-mycaps

How to add this from sourcecode when I am creating element decodebin

Sent from:

More information about the gstreamer-devel mailing list