[gst-devel] Re: Deprecatign try_set_caps()
Ronald Bultje
rbultje at ronald.bitfreak.net
Thu Dec 25 14:53:01 CET 2003
Hi Ramon,
On Thu, 2003-12-25 at 23:43, Ramón García wrote:
> If the actual type of a stream is determinated at run
> time, such as data from a .mov file, how should an
> element deal with that data? Previously, one should do
> try_set_caps() so that spider would launch the
> appropiate pipeline.
Both sides have a getcaps() and/or link() function, and the one that
would previously call try_set_caps (pad, caps) would now prepare the
getcaps() function and link() function to behave as expected, and then
run gst_pad_negotiate(pad). This automatically enables replugging.
Ronald
--
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer
More information about the gstreamer-devel
mailing list