[gst-devel] I need try_set_caps with unfixed caps...

Benjamin Otte in7y118 at public.uni-hamburg.de
Sun Jan 25 10:59:01 CET 2004


Hi David,

I'm currently (in audioconvert) facing a problem and I don't know if a
good solution exists:
Audioconvert is capable of converting everything but the rate, so I need
to check in the link function if the other side accepts caps with this
rate but otherwise unfixed. What's the suggested way to do this?


Another (unrelated) thing is that audioconvert has "preferred caps" - no
conversion at all. Is it ok to try_set_caps them on the other pad in the
link function and just go on when that failed? (I suppose it is, just to
be sure)


Benjamin





More information about the gstreamer-devel mailing list