Detect changes in resolution in a mjpeg stream

Sebastian Dröge sebastian at centricular.com
Thu Aug 13 23:50:20 PDT 2015


On Do, 2015-08-13 at 21:34 +0200, Guillermo Rodriguez Garcia wrote:
> I see that all the downstream elements notice the change, then my
> callback function is called. My problem is that I need to intercept
> the change before it reaches downstream elements. Is this possible ?

In 0.10 (and also 1.x) you can use the "notify::caps" signal on the
pad. It will be emitted before the caps are propagated downstream.

-- 
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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150814/dfa339c9/attachment.sig>


More information about the gstreamer-devel mailing list