Hi guys, We created some plugins that inherited from
GstBaseTransform and implemented set_caps. Also, we have some properties that are in use in set_caps. So, the question is: Is it expected that set_caps called before first initialization of plugin’s properties? If so, can we prevent calling set_caps before properties assignment? I mean is there any built-in mechanism to do so. Best regards Umed
This e-mail and any attachments may contain confidential material for _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mercredi 17 juillet 2019 à 13:38 +0000, Abdumuminov, Umedzhon a
écrit : > Hi guys, > > We created some plugins that inherited from GstBaseTransform and implemented set_caps. Also, we have some properties that are in use in set_caps. > So, the question is: > > Is it expected that set_caps called before first initialization of plugin’s properties? > If so, can we prevent calling set_caps before properties assignment? I mean is there any built-in mechanism to do so. Properties can be set at any time, through gst-launch though, they will be set before. The element should protect against run-time property changes if that isn't supported. We have property caps to indicate in which state a properly can be used, though this is not enforced. > > Best regards > Umed > > > -------------------------------------------------------------------- > Joint Stock Company Intel A/O > Registered legal address: Krylatsky Hills Business Park, > 17 Krylatskaya Str., Bldg 4, Moscow 121614, > Russian Federation > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (201 bytes) Download Attachment |
Free forum by Nabble | Edit this page |