Deepstream_sink display on custom gui

Hi. I am new to deepstream and gstreamer.

For now I need to display the result video on my own GUI. There is a GstVideoOverlay interface that can enable GUI to display video. But this seems to require certain plugins.

My question is that is there any way to directly display video on my gui using nveglglessink?

Can you refer https://gstreamer.freedesktop.org/documentation/video/gstvideooverlay.html?gi-language=c

Thank you for your reply.

I solved this issue by using nvvideoconvert to convert it to x-raw and xvimagesink on gstvideooverlay