<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 18 déc. 2017 5:10 AM, "Jimmy De Pauw" <<a href="mailto:jimmy@dcode.eu">jimmy@dcode.eu</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have been creating my own plugin using GstBaseTransform as the parent class.<br>
It works find but now i want to handle the QoS in my tranform method to know if i have to drop the buffer or not.<br>
<br>
I can see that BaseTransform already listen to QoS event on its sink and set some properties in its priv structure.<br>
I would like to have access to the earliest_time property from my own transform method but i don’t know how to do it, if it is possible at all.<br>
It sounds like i have no access to it at all.<br>
<br>
Looking at the videoconvert source code i don’t see how it handles QoS eventl.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">It's entirely handled by the base class.  But you can catch the event on your srcpad, there is virtual functions for that.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What is the proper way of using what is already there in the BaseTransform class to handle QoS on my own subclass?<br>
<br>
Thanks<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div></div></div>