[gst-devel] gst_pad_use_fixed_caps() usage

ensonic ensonic at hora-obscura.de
Fri Nov 10 10:42:56 CET 2006


hi,

I am unsure about when to use gst_pad_use_fixed_caps(). E.g. vorbisdec and
theoradec use it for their srcpad. If I understood right, that means once
the caps towards the next element (e.g. alsasink, xvimagesink) are
negotiated, they wont change. Is that correct?

If so should e.g. vorbisenc and theoraenc use gst_pad_use_fixed_caps() for
the sinkpad? Or would encoders only do this if they don't support changing
caps while encoding?

Thanks!

Stefan





More information about the gstreamer-devel mailing list