parsebin: Not emitting no-more-pads?

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jun 21 20:23:45 UTC 2019


Le vendredi 21 juin 2019 à 19:37 +0200, Krzysztof Konopko a écrit :
> Hi,
> 
> I don't see 'parsebin' emitting 'no-more-pads' signal ('pad-added' is
> fine).  I also do not see `gst_element_no_more_pads()` called anywhere
> in its implementation.
> 
> Is this intended or am I missing something?

This element is meant to be used with playbin3 elements which uses the
new GstStream API and mechanism to notify new streams.

> 
> I've tried it with an MP4 file and it correctly instantiates a
> 'qtdemux' element which itself exposes all pads correctly and emits
> 'no-more-pads' which is handled internally by 'parsebin'.  I see no
> indication of 'parsebin' doing it itself though.
> 
> The idea is that I set blocking probes on the pads exposed, and if I
> get 'no-more-pads' from 'parsebin', I can for example query it for the
> duration etc.  And then decide what to do next with the pads (at this
> point I'm fine with stream selection fall-back behaviour).
> 
> Thanks,
> Kris
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190621/05ffe4fe/attachment.sig>


More information about the gstreamer-devel mailing list