Set Caps function not getting called

Tim-Philipp Müller t.i.m at zen.co.uk
Sat Jan 21 01:40:34 PST 2012


Hi Neil,

> I invoked my plugin with 'gst-launch filesrc location=test.mp3 ! axd !
> alsasink

The problem is not your code, but your pipeline. Filesrc outputs buffers without caps by default. Either add a typefind element or a parser (mpegaudioparse) before your decoder.

Cheers
  Tim


More information about the gstreamer-devel mailing list