[gst-devel] gstreamer internal error??? "set_caps" function not called
t.i.m at zen.co.uk
Thu Apr 19 12:14:22 CEST 2007
On Thu, 2007-04-19 at 03:00 -0700, Fabrice Triboix wrote:
> At this point I notice 2 strange behaviours:
> * apparently, gstreamer fetches my TEMPLATE caps
> (ANY) and not my real caps which are correctly set
You should use gst_pad_use_fixed_caps (srcpad) if you don't do that
already; this will set up a suitable getcaps function.
> * the "set_caps" function of the sink pad of
> ffdec_cook is not called
Make sure to set caps on the buffers you push out (this is what will
cause the setcaps function of the peer pad to be called later).
More information about the gstreamer-devel