Querying caps

Sebastian Dröge sebastian at centricular.com
Tue Jul 12 06:31:30 UTC 2016


On Fr, 2016-07-08 at 09:17 +0200, Andrey Nechypurenko wrote:
> 
> I would really appreciate if someone can shed the light why there are
> seven state changes to the PAUSED state

You get a state-changed message for every single element in your
pipeline and the pipeline itself whenever they change states.

>  and what is more important for
> me how to find missing caps such as ssrc, seqnum-offset,
> configuration, etc.

The most reliable way would be to connect to the "notify::caps" signal
of the sinkpad of appsink, or to use a pad probe on the sinkpad to
intercept the caps event.

-- 

Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160712/b0bf496b/attachment.sig>


More information about the gstreamer-devel mailing list