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: http://gstreamer-devel.966125.n4.nabble.com/