[gst-devel] How to be notified of new caps
Jan Schmidt
thaytan at noraisin.net
Mon Jun 18 13:00:30 CEST 2007
Fabrice Triboix wrote:
> Hi all,
>
> I would like my application to be notified of new caps
> sets on existing pads.
>
> Ex: a pad exists but with ANY caps, a first packet
> comes through with some caps and the "set_caps()"
> function of the pad is called. Is it possible to have
> a function called back in my application to be
> notified that some caps has been set on the pad?
You can connect to the notify::caps signal, or you can use deep notifies
like gst-launch-0.10 -v does to see all caps changes in a pipeline on
all pads.
Cheers,
Jan.
More information about the gstreamer-devel
mailing list