<div dir="ltr">Thank you both for your suggestions.<div><br></div><div>I have now tried using glimagesink ("overlay" use case as before), however but its seems to have the same problem as vaapisink. The same deadlock on teardown. </div><div>This happens on Intel hw as well when I tried the test code on a skylake laptop.</div><div><br></div><div>Am I missing something here....?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Kontakt Nicolas Dufresne (<<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>>) kirjutas kuupäeval K, 10. november 2021 kell 17:43:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le mercredi 10 novembre 2021 à 19:55 +0530, Nirbheek Chauhan via gstreamer-devel<br>
a écrit :<br>
> On Wed, Nov 10, 2021 at 6:10 PM Viljar Hera <<a href="mailto:viljar.hera@gmail.com" target="_blank">viljar.hera@gmail.com</a>> wrote:<br>
> > <br>
> > Well because I need vaapi for hw acclerated decoding (vaapih264dec & vaapih265dec)<br>
> <br>
> Vaapi can be transferred zerocopy to GL memory, so you do not need to<br>
> use a vaapi sink to do hw accelerated rendering of hw decoded buffers.<br>
<br>
Note that vaapisink is able to use an HW scaler not integrated in the GL stack.<br>
We've had a use case for that in the past. While with GL integration, GPU<br>
scaling is going to be done. But to use vaapisink, you need an "overlay" use<br>
case, which isn't very nice for modern qml gui. So I second your recommendation<br>
here.<br>
<br>
> <br>
> > and the project does not use qml at all.<br>
> > <br>
> > Actually I have not tested qmlglsink before. My distro (arch linux) doesn't even provide the package. So I'm not sure how well it integrates with regular QWidgets.<br>
> > <br>
> <br>
> You can always render to glimagesink and render to a GL surface with<br>
> Qt. There are examples for this:<br>
> <br>
> <a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/main/subprojects/gst-plugins-base/tests/examples/gl/qt" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/main/subprojects/gst-plugins-base/tests/examples/gl/qt</a><br>
> <br>
> Cheers,<br>
> Nirbheek<br>
<br>
</blockquote></div>